Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebst/pythonic-news
A Hacker News lookalike written in Python/Django, powering https://news.python.sc
https://github.com/sebst/pythonic-news
Last synced: 13 days ago
JSON representation
A Hacker News lookalike written in Python/Django, powering https://news.python.sc
- Host: GitHub
- URL: https://github.com/sebst/pythonic-news
- Owner: sebst
- License: agpl-3.0
- Created: 2019-10-09T15:08:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:41:55.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T20:50:00.290Z (3 months ago)
- Language: Python
- Homepage: https://news.python.sc
- Size: 80.1 KB
- Stars: 507
- Watchers: 20
- Forks: 105
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- -awesome-django - pythonic-news - Hacker News clone. (Projects / Open Source Projects)
- awesome-django - pythonic-news - Hacker News clone. (Projects / Open Source Projects)
- awesome-starred - sebst/pythonic-news - A Hacker News lookalike written in Python/Django, powering https://news.python.sc (others)
README
# pythonic-news
A Hacker News lookalike written in Python/Django, powering [https://news.python.sc](https://news.python.sc)[![screenshot](http://cdn.sebastiansteins.com/screenshot-news-python-sc.png "Screenshot")](https://news.python.sc)
## Setup for local development
### Set up virtual environment
```shell script
python -m venv venv/
source venv/bin/activate
```### Install Dependencies
```shell script
pip install -r requirements.txt
```### Migrate Database
```shell script
python manage.py migrate
```### Extra setup work
* Set ```DEBUG=True``` if necessary
* Add ```127.0.0.1``` to ```ALLOWED_HOSTS```### Run Django Server
```shell script
python manage.py runserver
```
Now you can access the website at ```127.0.0.1:8000```.