Skip to content

kirigamico/generator-kirigami-wagtail

Repository files navigation

generator-kirigami-wagtail NPM version Build Status Dependency Status

An opinionated Yeoman generator for Wagtail

What's in the box

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
  • NPM_CONFIG_PRODUCTION=false

License

MIT © Mitchel Cabuloy