- Mobile App
- Windows:
- Open Powershell in the
SCCoPilotApp
directory - run
gradle.bat build
- Open Powershell in the
- Linux and MacOS
- Open terminal in the
SCCoPilotApp
directory - run
./gradlew build
- Open terminal in the
- Generated builds are located in
SCCoPilotApp/build/outputs/apk/
- Windows:
- Server
- Scoreboard Server:
- Run
python scoreboard_server.py
from theScoreBoardServer
directory
- Run
- Websocket/Relay Server:
- Build following instructions in the README.md contained in the
Relay
folder. - Run the executable with
--help
for command line options
- Build following instructions in the README.md contained in the
- Scoreboard Server:
- Game
- Open the
project.godot
in Godot - Go to Project -> Export -> Select your desired target system
- Press "Export Project" and then "Save" on the next screen
- Generated builds will be wherever you saved it.
- Open the
-
Godot
- Godot GDScript Toolkit provides a set of style guides and checks for Godot projects using GDScript
-
Android Studio
- Use the provided linting and code formatting tools.
- To autoformat code right click on the project -> Reformat code
-
Python Project
- Use pep8 in PyCharm or similar.
- Mobile App
- Open and build
SCCoPilotApp
in Android Studio - Ensure that an emulator or physical device is set up with the IDE to run the tests
- Navigate to the Terminal at the bottom of the screen
- run
./gradlew connectedAndroidTest
- This will output results to a text file, instructions for accessing it within the IDE will be displayed upon completion
- Open and build
- Sign up for Amazon AWS. AWS Signup Page
- Create an administrator IAM User. IAM User Guide
- Create an access key for the administrator User. Credentials Guide
- Download and install AWS CLI. CLI Guide
- In a terminal window, run
aws configure
. Enter your AWS Access Key ID, AWS Secret Access Key, default region name, and default output format when prompted. - Run the following command to create the DynamoDB database table for storing game scores:
aws dynamodb create-table \
--table-name Scores \
--attribute-definitions \
AttributeName=username,AttributeType=S \
AttributeName=datetime,AttributeType=N \
--key-schema \
AttributeName=username,KeyType=HASH \
AttributeName=datetime,KeyType=RANGE \
--provisioned-throughput \
ReadCapacityUnits=10,WriteCapacityUnits=10
- Run
python -m pip install boto3
to install the Amazon AWS boto3 Python module. - Run
python3 scoreboard_server.py
to start the Scoreboard Server.
- Run executable
- Pass
--help
for more information