ft-interactive / generator-ftnewsapp

0 stars 0 forks source link

OBSOLETE

Please use the Project Starter Kit instead.

FT News App Generator Build Status

Yeoman generator that scaffolds out an FT interactive graphic/news app.

Installing the generator

npm install -g generator-ftnewsapp

How to use

Generating a new project

  1. Ensure you've got the latest versions of everything: sudo npm install -g yo bower generator-ftnewsapp

  2. Make a new directory and cd into it, then run the generator: yo ftnewsapp

Developing

Deploying

You will need an .igdeploy file (ideally in your home directory, so it works for all your projects), which should look like this:

{
  "username": "John.Smith",
  "password": "kittens",
  "host": "example.com"
}

Check with Callum or Luke what the host should be.

If you deploy something broken by mistake, you can do grunt undodeploy:live (or grunt undodeploy:demo). This will revert it to the last version. But note you can only do this once; only one history state is saved.

Options

Flags you can use when running yo ftnewsapp: