View Code? Open in Web Editor
NEW
This project forked from indianas/oc_project_13
Python 29.66%
HTML 17.61%
JavaScript 30.19%
PHP 0.63%
Pug 13.98%
SCSS 7.94%
benjamin-p13's Introduction
- Inventory application of a collection of POP figurines.
- 2: Initialization of the project locally:
- 1: To initialize the virtual environment:
pipenv install
.
- 2: To position yourself in pipenv :
pipenv shell
.
- 3: Launch the project locally:
- : If you have already initialized the virtual environment.
- 1: Execute the command to create the database:
-
python manage.py makemigrations
- python manage.py migrate
- 3: Creating a super user:
python manage.py createsuperuser
- 4: To run the app:
python manage.py runserver
.
- 5: Once launched, go to your browser and enter the following url: "http://127.0.0.1:8000/".
- : To launch the unit tests execute in the terminal the command
coverage run --source='.' manage.py test
.
- : To view the test report:
coverage report
.