Develop Wagtail CMS via Gitpod.
Use wagtail-gitpod to develop a Wagtail website.
Open in Gitpod
button./admin/
to the URL. Login with username admin
and password changeme
.More on contributing and developing.
Woo-hoo, you have a working development environment and know how to make a git commit. But how do you contribute to Wagtail? Here is how to fork Wagtail, create an access token, set a remote, and submit a pull request.
Go to https://github.com/wagtail/wagtail and click on the Fork button in the top-right corner. It creates a new copy of Wagtail repo under your GitHub account. The URL will be https://github.com/USERNAME/wagtail
In Gitpod, in the menu (usually designed as 3 horizontal lines) choose Terminal
and New Terminal
.
cd wagtail
git remote add USERNAME https://USERNAME:TOKEN@github.com/USERNAME/wagtail.git
git checkout -b BRANCH_NAME
git add PATH/TO/FILE.EXT
git commit -m "MESSAGE"
git push USERNAME
# remote: Create a pull request for 'BRANCH_NAME' on GitHub by visiting:
# remote: https://github.com/USERNAME/wagtail/pull/new/BRANCH_NAME
Open the link and follow the instructions.
The Gitpod workspace will stop after 30 minutes of inactivity. If your workspace has stopped, reload the browser or go to your workspaces and restart the workspace. Gitpod automatically removes workspaces that are inactive for 14 days.
Gitpod prebuild reduces wait time, by installing dependencies and running builds before you start a new workspace.
Unfortunately, these prebuilds work as a cache. You could encounter a prebuild with outdated packages.
If that is the case, you can trigger a new prebuild.