- Chukwudi Ikem
- Madison Jordan
- Ryan Broguiere
To get a local copy up and running follow these simple example steps.
-
Make sure to have python3 and pip installed on your computer.
sudo apt update sudo apt install --yes python3-pip ruby-foreman sqlite3 httpie
-
Clone the repo
git clone <repo.git>
-
Install FastAPI and other tools from requirements
python3 -m pip install -r requirements.txt
- Seed the database! (you may need to change permissions on your local machine)
./bin/db_seed.sh
-
make sure cron is running. if not use
sudo service cron start
-
build leaderboard standalone app and load cronjob
./bin/init.sh
proceed to service start instructions
-
In the root directory of the app folder, create a .env and set values for CHECKING_PORT and VALIDATION_PORT
echo -e "CHECKING_PORT=5000\nTRACKING_PORT=5200\nVALIDATION_PORT=5500" > .env
-
Run the services
foreman start
-
Travel to
depends on the values inputted for which service you wish to test
-
Once there you can test out the routes!