This project is a e-commerce builded with Django, Bootstrap and Docker.
- Clone this repository:
git clone [email protected]:daviromao/pystore.git
- Setup containers:
docker-compose up -d
- Run the migrations:
python manage.py migrate
- Run the tests:
pytest
# algumas opções:
pytest -x --cov --cov-report=html
- Use the fixture
products.json
to load a sample data. To insert the products in db:
python manage.py loaddata products
- Create a superuser to get acess in admin page:
python manage.py createsuperuser
- Rode o server do django
python manage.py runserver
Por fim, acesse o site neste link: http://localhost:8000/
Qualquer dúvida é só me procurar.