create a new pusher app and update settings.py accordingly:
PUSHER_APP_ID = ""
PUSHER_KEY = ""
PUSHER_SECRET = ""
PUSHER_CLUSTER = ""
create a facebook app and update seettings.py accordingly:
SOCIAL_AUTH_FACEBOOK_KEY = ''
SOCIAL_AUTH_FACEBOOK_SECRET = ''
Run the server with:
docker-compose up -d db
docker-compose up -d web
Run the migrations:
docker-compose exec web python manage.py migrate
Provision the database:
docker-compose exec db /usr/lib/postgresql/9.6/bin/psql -Upostgres -f /code/storage/provisions/repertoires.sql
docker-compose exec db /usr/lib/postgresql/9.6/bin/psql -Upostgres -f /code/storage/provisions/rooms.sql
Create superuser for admin panel:
docker-compose exec web python manage.py createsuperuser
start the worker
docker-compose exec web
export C_FORCE_ROOT='true'
python manage.py celeryd --beat
Navigate to:
env
- docker
- docker postgres
- docker python 2.7
python
- Django
- psycopg2
- social-auth-app-django
- pusher
- django-celery
- django-request
frontend
- bootstrap
- jquery
uses third party
- pusher