Avirdigital portfolio website
Production
·
Staging
This is a development setup guide for this project. Please follow the instructions to setup project locally.
- Python 3.7
- Pipenv (installationinstallation guide) or
- Poetry (installationinstallation guide)
-
Pull the repo
-
Create new pipenv environment (virtualenv)
pipenv --python 3.7 --for poetry poetry shell
-
Install requirements
pipenv install for poetry poetry install
-
To run on local
pipenv shell --for poetry poetry shell python manage.py migrate python manage.py collectstatic python manage.py runserver
Application will run on 127.0.0.1:8000
-
For admin dashboard
python manage.py createsuperuser python manage.py runserver
Admin dashboard will run on 127.0.0.1:8000/admin
-
Django tests
python manage.py test
-
Alternatively tox
tox