Skip to content

konman1989/news_site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

News site

Python 3.8, Django 3

This is a simple news site with different types of users - regular users, editors and administrators. Users' posts need to be approved by admins first, where editors' and admins' don't.

pip install -r requirements.txt

ENV config

ENV config can be set up by:

cp .env-example .env

Make sure to set all required variables.

DB config

To use prebuilt groups and permissions run:

python manage.py migrate
python manage.py loaddata users.json groups.json

Celery + Redis.

This app uses Celery + Redis as brokers to send emails. Make sure to set up Redis on your machine and run:

redis-server
celery worker -A news

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published