-
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 upwith 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 <[email protected]>'
DATABASE_URL='postgres://postgres:postgres@localhost:5432/boilerplate'
SENTRY_DSN='sentry_key'
AWS_STORAGE_BUCKET_NAME='django-be'