Skip to content

bentaly/living-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-livingapp

Living generator for Yeoman

You'll need Yeoman for this. Then it's easy to create your Living app

Getting Started

What is Yeoman?

Trick question. It's not a thing. It's this guy:

Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.

Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.

npm install -g yo

How to get generator-livingapp?

Make sure you have Sass. To install Sass on Mac:

sudo gem install sass

For Windows go here to install Ruby: http://www.rubyinstaller.org/ before you start using Sass you will need to install Ruby. The installer will also install a Ruby command line powershell application that will let you use the Ruby libraries.

To install generator-livingapp, you need to clone this repo, then navigate in the terminal or command line to this project:

git clone https://github.com/bentaly/living-generator
cd living-generator
sudo npm link

This creates a node module globally which you can use anywhere. Create an empty project (in this example 'my-living-app') under living-frontend/apps

mkdir my-living-app

Then go into the folder

cd my-living-app

And build it!

yo livingapp

Add the line below to '/living-frontend/gulpfile.js'

require('./apps/your-app-name/gulpfile.js');

You might have to do an npm install and a bower install.

npm install
bower install

Now your app is scaffloded, navigate to the root folder '/living-frontend' run the below to compile the files and run the webserver. 'your-app-name-abbreviated' is the name you chose in the setup.

gulp your-app-name-abbreviated:build

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

About

A generator to build apps in the living front end platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published