Skip to content

MendelDamian/plemiona-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plemiona API

Requirements

  • Python 3.9+
  • Redis

Setting Up Development Environment

Get redis: (https://redis.io/topics/quickstart)

sudo apt install redis-server

Run redis service:

sudo service redis-server start
# or
sudo systemctl start redis-server.service

Clone repo:

git clone [email protected]:MendelDamian/plemiona-engine.git
cd plemiona-engine

Create and activate virtual environment:

python3 -m venv venv
source venv/bin/activate

Install packages:

pip install -r requirements.txt

Apply migrations:

python manage.py migrate

Start Celery worker process:

celery -A plemiona_api worker -l info

Run development server:

python manage.py runserver