Skip to content
/ core Public

Simple Restful CRUD API. This project uses DRF, ES, Celery & Redis.

Notifications You must be signed in to change notification settings

glanceon/core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple Restful CRUD API. This project uses DRF, ES, Celery & Redis.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages