pythonic-news icon indicating copy to clipboard operation
pythonic-news copied to clipboard

A Hacker News lookalike written in Python/Django, powering https://news.python.sc

pythonic-news

A Hacker News lookalike written in Python/Django, powering https://news.python.sc

screenshot

Setup for local development

Set up virtual environment

python -m venv venv/
source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

Migrate Database

python manage.py migrate

Extra setup work

  • Set DEBUG=True if necessary
  • Add 127.0.0.1 to ALLOWED_HOSTS

Run Django Server

python manage.py runserver

Now you can access the website at 127.0.0.1:8000.