Swagger on url: /swagger/
, /swagger.json
RESTful API online store for the sale of phones
-
Install
docker <https://docs.docker.com/engine/install/>
_ -
Install docker-compose:
pip install docker-compose
-
Clone project:
cd /path/to/project
How start?
-
Start the environment (it will take a long time to build for the first time):
make run
Issue: If you have this error: FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/logs/debug.log' add dir 'logs' to src/ Example: src/logs/
-
Stoped:
make stop
How enter?
Open browser: 0.0.0.0:5000 <http://0.0.0.0:5000>
_
How test?
`make test`
If there are problems with migrations?
`make clean`
The rest of the commands can be found by running:
`make`
Main modules project:
Eshop
1. env files all settings
Apps
- shop - keep main module on project
- User - keep module registration customer
- core - auxiliary functions