/clean_architecture_example

This repo is to demonstrate the code structure that we have adopted in accordance with clean_architecture principles

Primary LanguagePython

clean_architecture_example

setup virtualenv

pip install virtualenv
virtualenv .venv

install requirements

pip install -r requirements.txt

# if you ran into any issue with kerbrose package install below system dependencies
sudo apt-get install krb5-config libkrb5-dev libssl-dev libsasl2-dev libsasl2-modules-gssapi-mit

running django management commands & usage

source .venv/bin/activate
export DJANGO_SETTINGS_MODULE=django_settings.settings.local
python manage.py build -a clean_arch_app
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver