This project is from my book Build Blog With Wagtail CMS (second version)
Note: If you are interested in React, Storybook and Wagtail, you can check wagtail-react-blog
This book will teach you how to build a modern blog with Wagtail CMS
By the end of this course, you will be able to:
- Understand
Dockerand useDocker Composeto do development - Create blog models to work with Wagtail.
- Import
Bootstrapthemes to the blog. - Use
PDBandDjango shellto debug, test code and check data in terminal. - Learn to use
RoutablePageand addDateto the post url. - Build
Paginationcomponent and correctly handle querystring. - Make the blog supports wirting in
MarkdownandLatex. - Create contact page using Wagtail
FormBuilder - Build menu, meta tags, sitemap, robots.txt for better SEO.
- Build comment system based on
django-contrib-commentswhich supportGeneric Relations - Understand how to use
Webpackto bundle frontend assets and make it work with Django project. - Learn SCSS and use it to customize style in quick way.
- Use
Tribute.js,Axiosto addMentionandEmojisupport to the comment form. - Learn
Async/Await,Promiseand the benefits. - Deploy the production app to DigitalOcean
- Python 3.8
- Django 3.1
- Wagtail 2.11
- Node 12
- Webpack 5
- jQuery 3.5.1
- Bootstrap 4.5
- Tribute.js
- Axios
You need Docker and Docker Compose and you can install it here Get Docker
$ git clone https://github.com/AccordBox/wagtail-bootstrap-blog
$ cd wagtail-bootstrap-blog
# build and lanch app
$ docker-compose up --buildNow open a new terminal to import data and change password.
$ docker-compose exec web python manage.py load_initial_data
$ docker-compose exec web python manage.py changepassword adminNow you can check on
The demo is also online if you want to check.
