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
make up # production
make up-dev # development
On the first time running the application:
make setup
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