/rocketman

The source code for Wagtail for Beginners Course (rocketman.learnwagtail.com)

Primary LanguageCSS

Rocketman: A Wagtail for Beginners Course

View the production website at rocketman.learnwagtail.com

View the course at https://learnwagtail.com/wagtail-for-beginners/

The purpose of this repository is to provide code support form the Wagtail for Beginners course.

Installation

There are several installation methods. For local development, you have three main options that are used in this course:

venv

python3 -m venv rocketmanvenv
source rocketmanvenv/bin/activate
python manage.py migrate
python manage.py runserver 0.0.0.0:8000

pipenv

pipenv install
pipenv shell
python manage.py migrate
python manage.py runserver 0.0.0.0:8000

virtualenv

virtualenv rocketmanvenv
source rocketmanvenv/bin/activate
python manage.py migrate
python manage.py runserver 0.0.0.0:8000

Launching your site

Make sure you watch the video on launching your Wagtail CMS site on Digital Ocean. If you decide to clone this project as a test, make sure you update the @todos in production.py.

There's also a sample nginx config, and a gunicorn files in the conf/ directory. That will show you how rocketman.learnwagtail.com is setup.

Digital Ocean Hosting Perks

If you use this link, you'll get $100 in credit over the first 60 days to setup your Wagtail website using Digital Ocean

General dev support

If you have questions about adapting this source code to your project, there are two primary places to turn to:

  1. Slack — join us in the #support channel.
  2. Learn Wagtail Tutorials — Over 50 free helpful videos on various subjects

Frontend development

Wagtail for Beginners does not cover any of the frontend build. This was a conscious decision so the course can focus entirely on Wagtail and Django.

But if you want to extend the frontend you can get it setup with npm i and run any of the commands in the package.json file.