Skip to content

Latest commit

 

History

History
60 lines (45 loc) · 982 Bytes

README.md

File metadata and controls

60 lines (45 loc) · 982 Bytes

Core

A project to showcase my knowledge of django so far..

Installation

Use the package manager pip to install dependencies.

pip install -r requirements.txt

Setup your os variables in .env file and PostgreSQL database with user

Install redis on Linux

sudo apt-get install redis

or Windows https://github.com/tporadowski/redis/releases

Install Java 8+, Elasticsearch & create superuser like so

elasticsearch-users useradd user -p password -r superuser

Running the App

Run Redis

redis-server

Run celery

celery -A core.celery worker --pool=solo -l info

Run migrations

python manage.py makemigrations
python manage.py migrate

Run ES Server

elasticsearch

Rebuild ES index

python manage.py search_index --rebuild

Run the app

python manage.py runserver

Postman

https://www.getpostman.com/collections/eedd91e8f9e4217f1bae