Ecommerce app using Django, Rest API, Docker and ElasticSearch
pipfile-sort
./manage.py runserver_plus
./manage.py shell
or better with auto importing models (django-extensions)
./manage.py shell_plus
pip install -r requirements.txt
or
pipenv install
pipenv shell
pipenv install
pipenv lock -r > requirements.txt
and with dependencies tree for reference:
pipdeptree -f > requirements-graph.txt
pytest -s -v --durations=0
./manage.py collectstatic
then compile scss files
./manage.py compress --force
./manage.py migrate
./manage.py makemessages -l fr && ./manage.py compilemessages -l fr
./manage.py show_urls
./manage.py validate_templates
./manage.py dumpdata --natural-foreign --exclude=auth.permission --exclude=contenttypes --indent=4 > src/fixtures/db.json
./manage.py loaddata src/fixtures/db.json
./manage.py reset_db