/transcendence

Realtime browser based multiplayer pong game | Django, Redis, PostgreSQL, Vue

Primary LanguageVue

Pong

Start server

./build.sh

Stop server

docker compose down

dotenv

export DEP_MODE=production
export DJANGO_SECRET_KEY=...

# DATABASE
export POSTGRES_DB=django
export POSTGRES_USER=django
export POSTGRES_PASSWORD=django
export POSTGRES_HOST=postgresql
export POSTGRES_PORT=5432

# REDIS
export REDIS_HOST=redis
export REDIS_PORT=6379

# OAUTH
# 42 OAUTH
export OAUTH_CLIENT_UID=...
export OAUTH_CLIENT_SECRET=...
export OAUTH_TOKEN_URL=https://api.intra.42.fr/oauth/token/
export API_USER_INFOS_URL=https://api.intra.42.fr/v2/me/
export EMAIL_HOST='smtp.gmail.com'
export EMAIL_HOST_USER='transcendance2042@gmail.com'
export EMAIL_FROM='transcendance2042@gmail.com'
export EMAIL_HOST_PASSWORD='wanh xhid guvr cgik'


# twilio
export TWILIO_ACCOUNT_SID=...
export TWILIO_AUTH_TOKEN=...
export TWILIO_VERIFY_SID=...

export VITE_42_OAUTH_CLIENT_UID=...
export VITE_42_OAUTH_CLIENT_SECRET=...

Authors

tmarie mlaval ermolina gmallet