##Instructions to run this
- Install postgres, create db
newsdb:
sudo su - postgres
createdb -d newsdb -U admin
ctrl + D git clone [email protected]:dbajpeyi/hackernews-clone.gitcd hackernews-clone && pip install -r requirements.txtbower installcd project && python manage.py collectstaticpython manage.py migratepython manage.py runserver- This might fail, need to define auser.pyfile for postgres uname and password can't be on github-
- Go to
localhost:8000/register/
- Go to
- Register yourself, login and try it out!!
##CELERY
celery multi start w1 -A settings -l infoto start celery daemoncelery -A settings beat- Go to settings.py to change the schedule under CELERY_BEAT_SCHEDULER