To start live reload of code for the elm frontend:
npm install --global elm elm-live
cd drunkpoker/elm/frontend
elm-live --no-server --port 1234 --no-server src/Main.elm -- src/Main.elm --output=elm.js
To start the django development server:
python -m pip install -r requirements.txt
python manage.py runserver
The app will be available at https://localhost:8000
Players are automatically assigned an ID through cookies, for testing with more than one player, check out firefox multi account containers
The app is hosted on heroku. See the Procfile for deployment commands if you're looking to deploy somewhere else.
If auto-deploy is activated in heroku, any push to master will also automatically deploy. Otherwise, connect to heroku and trigger a manual deploy