gutogalego / reddit-demo-django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reddit Django

Requirements

Development

  • Create the virtual environment and activate it

      virtualenv -p python3 venv
      source venv/bin/activate
    
  • Install the requirements pip install -r requirements.txt

  • Start the dockers docker-compose up with the database and the localstack

  • Run the server with python manage.py runserver 8000

You need a .envfile with your environment variables, here's an example file:

LOAD_ENVS_FROM_FILE='True'
ENVIRONMENT='development'
SECRET_KEY='secret_key'
DEFAULT_FROM_EMAIL='Boilerplate <boilerplate@jungledevs.com>'
DATABASE_URL='postgres://postgres:postgres@localhost:5432/boilerplate'
SENTRY_DSN='sentry_key'
AWS_STORAGE_BUCKET_NAME='django-be'

About


Languages

Language:Python 60.7%Language:HCL 28.8%Language:HTML 9.0%Language:Shell 1.0%Language:Dockerfile 0.5%