Pull the repo, then run
Create some files
./scripts/env-local.yml and load it with:
GITHUB_CLIENT_ID: <fill in with your own> GITHUB_CLIENT_SECRET: <fill in with your own> GITHUB_CALLBACK_URL: http://localhost:3009/auth/github/callback REDIS_HOST: localhost BATTLESNAKE_SERVER_HOST: http://localhost:3001 AUTH_REDIRECT_URL: http://localhost:3000 COOKIE_DOMAIN: localhost SESSION_SECRET: any_appropriate_text
Create Github OAuth vars
Go here to create a new Github OAuth app to get your credentials to fill in
GITHUB_CLIENT_* values above.
Run the required services
./scripts/services to spin up all the services including the battlesnake game server.
Then, run the migration script for dynamodb
Start the server and client build
To get the server and client running, open two terminal windows and run
./scripts/run-client in them respectively.