Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sauberr/shop_project_v3

Final Django project. Clothes shop
https://github.com/sauberr/shop_project_v3

Last synced: about 1 month ago
JSON representation

Final Django project. Clothes shop

Awesome Lists containing this project

README

        

# Store Project Version 3

The project for study Django.

#### Stack:

- [Python](https://www.python.org/downloads/)
- [PostgreSQL](https://www.postgresql.org/)
- [Redis](https://redis.io/)
- [Celery](https://docs.celeryq.dev/en/stable/)
- [Docker](https://www.docker.com/)

## Local Developing

All actions should be executed from the source directory of the project and only after installing all requirements.

1. Firstly, create and activate a new virtual environment:
```bash
python3.11 -m venv ../venv
source ../venv/bin/activate
```

2. Install packages:
```bash
pip install --upgrade pip
pip install -r requirements.txt
```

3. Run project dependencies, migrations, fill the database with the fixture data etc.:
```bash
./manage.py migrate
./manage.py loaddata
./manage.py runserver
```

4. Run [Redis Server](https://redis.io/docs/getting-started/installation/):
```bash
redis-server
```

5. Run Celery:
```bash
celery -A store worker --loglevel=INFO
```