This is my own personal blog. I was kind of messing around and it's a bit eccentric, but you can use it if you like.
-
Clone this repository with
git clone --recursive github.com/qualiaa/blog. -
Install the package with
pip install ./blog. -
In your Django project's
settings.py, add"jamie_blog"toINSTALLED_APPS:INSTALLED_APPS = [ ... "jamie_blog", ]
-
Copy the
BLOG_settings fromdocker/settings.pyand adjust to suit your needs. -
Include the
jamie_blogURLconf in your project'surls.py:path('blog/', include('jamie_blog.urls')),
-
Start the development server with
python manage.py runserverand visit http://127.0.0.1:8000/blog/ to see the blog in action.
-
Clone this repository with
git clone --recursive github.com/qualiaa/blog. -
Configure
docker/settings.pyto suit your needs. -
You may want to make
wipfolder and add it as bind-mount indocker/docker-compose.yml. -
Run
docker-compose -f docker/docker-compose up