Quick start
git clone this repository:
git clone https://github.com/nanakin/OC-P13-Django-CICD.git Django-CICD
Move to the project directory:
cd Django-CICD
Install poetry (if not installed yet), by following the official documentation.
Install project dependencies in a new virtual environment using poetry:
poetry install
Rename a
.env.examplefile as.env:mv .env.example .env
Edit the
.envfile to set the environment variablesApply database migrations:
poetry run python manage.py migrate
Collect static files (if your environment variable DEBUG is False):
poetry run python manage.py collectstatic
Run a development server locally:
poetry run python manage.py runserver
Open your browser and go to http://127.0.0.1:8000/ to see the application running.