A simple blog with CRUD functionality. Runs on Django. Great starter kit.
-
Run in terminal:
pip install -r requirements.txt
whilst inside the root folder. This will give you the dependencies (there's only 3) -
Then, run
cd messageboard
and typepy manage.py createsuperuser
. Follow the instructions to create your user. -
Finally, run
manage.py makemigrations
followed straightaway bymanage.py migrate
which will initialise your sqlite database. -
Now you can run the website with
py manage.py runserver
.
Log in, use the CRUD functionality, develop it however you wish.
Cheers!
The site has full privacy (you can only see posts if logged in. only admins can make posts.)
This can be removed by simply changing the {% if user.is_authenticated %} tags used in the HTML templates.