Skip to content

Destiny 2 Guessr web application with games and quizz about Destiny 2 developed with Django, PostgreSQL, Angular and Docker.

Notifications You must be signed in to change notification settings

Yoannmont/Destiny-2-guessr

Repository files navigation

Destiny 2 Guessr web application with games and quizz about Destiny 2 developed with Django, PostgreSQL and Docker.

d2g_preview AngularVision

🏡 Setup for local deployment

Python Postgres Node.js

  1. Install Python env, Postgres and Node.js.

  2. Clone git repository : git clone https://github.com/Yoannmont/Destiny-2-guessr.git

  3. Start Database : Create a Postgres Database and put connection credientials in server/settings.py

  4. Start Server: In terminal :

  • Ensure you're in server folder (or run cd app)
  • Install libraries by running pip install -r requirements.txt
  • Build app by running django-admin runserver [address]:[port]

🐳 Setup for Docker deployment

Docker

  1. Install Docker Desktop (and create an account).

  2. Clone git repository : git clone https://github.com/Yoannmont/Destiny-2-guessr.git

  3. Build client, database and server apps in containers by running docker compose up (Default ports : Web app 4200, Server 8000, Database 5432).

Default settings

Database parameters are set as environment variables :

  • POSTGRES_PASSWORD = d2guessrlib_password
  • POSTGRES_USER = d2guessrlib_user
  • POSTGRES_DB = d2guessrlib_db

Developed with

  • Django: Python backend for API.
  • PostgreSQL : Database management system.
  • Angular CLI 17.3: Front-end framework for user interface development.
  • Docker: Application containerization.

About

Destiny 2 Guessr web application with games and quizz about Destiny 2 developed with Django, PostgreSQL, Angular and Docker.

Topics

Resources

Stars

Watchers

Forks