https://muddyapp.herokuapp.com/api/registration
-
Set up your virtual environment
pipenv --threepipenv installpipenv shell
-
Add your secret credentials
- Create
.envin the root directory of your project - Add your pusher credentials and secret key
SECRET_KEY='<your_secret_key>' DEBUG=True PUSHER_APP_ID=<your_app_id> PUSHER_KEY=<your_pusher_key> PUSHER_SECRET=<your_pusher_secret> PUSHER_CLUSTER=<your_pusher_cluster>
- Create
-
Run database migrations
./manage.py makemigrations./manage.py migrate
-
Add rooms to your database
./manage.py shell- Copy/paste the contents of
util/create_world.pyinto the Python interpreter - Exit the interpreter
-
Run the server
./manage.py runserver