Skip to content

Boilerplate to offer structure when starting a new Chaplin.js project.

Notifications You must be signed in to change notification settings

chrisabrams/chaplin-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chaplin-starter

Simple boilerplate to offer structure when starting a new project.

What's included

The structure of the app is primary based off of how Brunch.io structures Chaplin apps; the main difference here is that I have replaced Brunch with Grunt.

Primary Libraries

Secondary Libraries (optional)

Getting Started

First clone this repo.

You will need Node.js in order to complete the following steps. Please install Node.js if you have not done so.

Install these dependencies globally if you have not done so:

npm install -g bower coffee-script grunt-cli

Then install these dependencies locally (run from root of this project):

npm install

Now let's get some dependencies from Bower:

grunt bower

Building the project

You'll need two tabs. The reason I do this is because node usually ends up running behind a web server such as Nginx which involves splitting the server and build process from each other anyway.

The first tab starts the node server:

node server.js

The second tab builds and watches the project:

grunt w

Todo

  • Make installing dependencies one command.

About

Boilerplate to offer structure when starting a new Chaplin.js project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published