Basic forum web application made with Django
git clone https://github.com/johnhh2/django-forum.git
cd django-forum
virtualenv -p python3.6 venv/
source venv/bin/activate
Once in the virtual environment, download the poetry package manager
sudo pip install --upgrade setuptools pip
pip install poetry
If this fails, try installing these dependencies:
sudo apt-get install python2.7-dev libffi-dev libssl-dev
pip install poetry
Next, use poetry to download the project dependencies
poetry install
npm install
python manage.py makemigrations forumapp
python manage.py migrate
python manage.py runserver 127.0.0.1:8000
Use a browser to go to 127.0.0.1:8000
A simple python program written to help run forum-related commands in a manage.py shell
$ python manage.py shell
>>> from imports import *