Skip to content

GustavoRizzo/testing-Django5

Repository files navigation

Demo Django5

Prerequisites

Prepare .env file

Make a copy from .env.example to .env file. Edit and adjust the file. After that, just need to load the environment variables:

cp .env.example .env
vi .env

Run aplication with Docker and Makefile

make up # production
make up-dev # development

On the first time running the application:

make setup

Run application locally (without docker)

To create the local environment:

pyenv local && pyenv install
virtualenv --python=`pyenv which python` venv
source venv/bin/activate
pip install pip setuptools --upgrade
pip install -r requirements.txt

to run the first time:

python manage.py migrate
python manage.py createsuperuser
python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published