- Clone repo
- Create a virtualenv
- Active virtualenv
- Install dependences
- Copy and edit your .env file
git clone https://github.com/dssantos/sampleproject.git sampleproject
cd sampleproject
python -m venv .sampleproject
source .sampleproject/bin/activate
pip install -r requirements-dev.txt
cp contrib/env-sample .env
cat .env
- Migrate tables
- Create a user
- Run server
- Access admin panel http://127.0.0.1:8000/admin
python manage.py migrate
python manage.py createsuperuser && python manage.py runserver