Forked from: https://github.com/sebst/pythonic-news/
A Hacker News lookalike written in Python/Django
py manage.py createsuperuser
cd ~
python3 -m venv venv/
Linux
source ~/venv/bin/activate
Windows
<venv>\Scripts\Activate.ps1
pip freeze > requirements.txt
pip install -r requirements.txt
python -m venv venv/
source venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
- Set
DEBUG=True
if necessary - Add
127.0.0.1
toALLOWED_HOSTS
python manage.py runserver
Now you can access the website at 127.0.0.1:8000
.
https://stackoverflow.com/questions/64261546/how-to-solve-error-microsoft-visual-c-14-0-or-greater-is-required-when-inst https://www.lfd.uci.edu/~gohlke/pythonlibs/#cffi