justincely / pipsplace

Server side for the pipsplace site.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipsplace

Server side for the pipsplace site.

Project utilizes a .env file with the following vars:

  • SECRET_KEY: Django project secret key. New keys can be generated by following instructions here.
  • DEBUG: Determines whether Django server launches in debug mode. Options are True or False.
  • POSTGRES_DB: Name of your database. This value will be used to name db if none currently exists. If not specified postgres will use the POSTGRES_USER field value.
  • POSTGRES_PASSWORD: REQUIRED FIELD. Used in conjunction with POSTGRES_USER to authorize connection to db.
  • POSTGRES_USER: Username used to login to db. If the db does not currently exist the created superuser will use this name and POSTGRES_PASSWORD. If unspecified this field defaults to postgres
  • POSTGRES_HOST: db (name of docker-compose postgres service. This passes assigned host value of the container)
  • POSTGRES_PORT: port exposed by database (default of Postgres is 5432)

To run:

  • clone repository
  • create .env file with values specified above
  • run docker compose up
  • access running django server at localhost:8000

About

Server side for the pipsplace site.


Languages

Language:SCSS 38.7%Language:CSS 29.1%Language:JavaScript 15.4%Language:HTML 11.2%Language:Python 5.2%Language:Dockerfile 0.4%