aobcvr / test_first

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test for Python Junior Developer

Documentation

Requirements:

Installation

1. Download or clone (git clone https://github.com/mazer9/test_first) the repository

2. Change directory

cd test_first

3. Create local environment files

  • .envs/.local/db.env
DATABASE_URL=psql://dev_user:dev_password@postrgesql:5432/test_first
  • .envs/.local/django.env
DJANGO_DEBUG=True
DJANGO_SETTINGS_MODULE=config.settings.local
DJANGO_SECRET_KEY=!!!SET DJANGO_SECRET_KEY!!!
DJANGO_ADMINS=Full Name <email-with-name@example.com>,anotheremailwithoutname@example.com
DJANGO_STAFF=Full Name <email-with-name@example.com>,anotheremailwithoutname@example.com
DJANGO_ALLOWED_HOSTS=0.0.0.0,127.0.0.1,localhost

4. Start the containers

docker-compose -f docker-compose-dev.yml up -d

5. Visit http://127.0.0.1:8000

About


Languages

Language:Python 97.2%Language:Dockerfile 2.0%Language:Shell 0.8%