generator-kirigami-wagtail
v0.2.0
Published
An opinionated Yeoman generator for Wagtail
Downloads
1
Maintainers
Readme
generator-kirigami-wagtail
An opinionated Yeoman generator for Wagtail
What's in the box
- Python 3.6
- Django + Wagtail
- Sane default configuration
- pip-tools for Python dependencies
- django-environ for cleaner
settings.py
file
- Front-end tooling
- Gulp for task management
- Sass for easier CSS
- Browserify w/ babel for ES6 bundling
- imagemin to compress images, svgs
npm run lint
to lint files with flake8, eslint, and sass-lint
- Basic styles
- Breakerpoint Slicer for breakpoints
- Modular Scale for… modular scale
- Susy for grids
- Typi for typography
- normalize-scss for CSS resets
- Deploy configuration
- Heroku/Dokku ready
- uwsgi for Python server
- Whitenoise for serving static files
- CircleCI config
Installation
First, install Yeoman and generator-kirigami-wagtail using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-kirigami-wagtail
Create your project folder
mkdir wagtail-is-osm
mv wagtail-is-osm
Activate your virtualenv
virtualenv venv
source venv/bin/activate
Then generate your new project:
yo kirigami-wagtail
Usage
Honcho gets installed locally, you can use it to run both Gulp and the Django dev server at the same time.
honcho -f Procfile.dev start
Deploy
This generator includes configuration for deployment using buildpacks, so you can deploy it to Heroku or Dokku right out of the box.
Before you do though, make sure these environment variables are set on your Heroku/Dokku app.
- SECRET_KEY
- ALLOWED_HOSTS
- DATABASE_URL
- DISABLE_COLLECTSTATIC=1
License
MIT © Mitchel Cabuloy