Skip to content

This is a content aggregator that gets different tech contents from different websites plus a blog forum.

License

Notifications You must be signed in to change notification settings

Kingsolomon445/content-aggregator

Repository files navigation

content-aggregator

This is a content aggregator that gets different tech contents from different websites plus a blog forum(Made with Python & Django).

Live website: https://content-aggregator-5fe32d76e660.herokuapp.com/

STEPS

git clone https://github.com/Kingsolomon445/content-aggregator

Modify Secret Key so it works

File to modify -> content_aggregator/content_aggregator/settings.py
change SECRET_KEY value into any random secret key or export to env as SECRET_KEY

From the project root directory

start a virtual environment and activate it

python -m virtualenv venv
source venv/bin/activate

Install the required dependencies

pip install -r requirements.txt

Create database tables

python manage.py makemigrations
python manage.py migrate

Run the Server

python manage.py runserver

Start redis server

This is important so celery can work for task scheduling, you may need to set up redis and a broker before running these commands

These commands are for MAC and may be different for other OS

redis-server
sudo rabbitmq-server

Celery task scheduling commands

celery -A content_aggregator beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler
celery -A content_aggregator worker --loglevel=info

Go to localhost:8000

About

This is a content aggregator that gets different tech contents from different websites plus a blog forum.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published