A CLI tool to quickly start a new Wagtail project.
poetry install
poetry run new [project_name] [package_name] [-v|--version]
Arguments:
- project_name: The name of the project default is
wagtail_site
- package_name: The name of the package default is
app
Options:
- -v, --version: Choose the Wagtail version, default is
latest
The project will be created in the [project_name] inside the parent directory of the CLI tool.
- Add a .gitignore file
- Remove the default welcome page
- Add frontend css and javascript to the project
- Add pre-commit
Once the site is generated, you can start developing it further.
Open the [project_name] directory in your editor of choice. The README.md file will contain the instructions for setting up the project.