Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sauberr/social_website
https://github.com/sauberr/social_website
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sauberr/social_website
- Owner: Sauberr
- License: mit
- Created: 2023-11-03T20:04:32.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-01-14T16:09:27.000Z (12 months ago)
- Last Synced: 2024-01-14T21:16:10.666Z (12 months ago)
- Language: Python
- Size: 17.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Social Website
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/)## 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 bookmarks worker --loglevel=INFO
```