Create a new masseuse app with grunt-init, including a demo view.
If you haven't already done so, install grunt-init (and node/nvm, grunt-cli, and bower).
Once grunt-init is installed, place this template in your ~/.grunt-init/
directory. It's recommended that you use git
to clone this template into that directory, as follows:
git clone git@github.com:Solid-Interactive/grunt-init-masseuse.git ~/.grunt-init/masseuse
(Windows users, see the documentation for the correct destination directory path)
This template is setup to create a one page masseuse web app.
To provide flexibility project is stored in the app
directory but served from the build
directory.
Feel free to customize to your needs.
At the command-line, cd into an empty directory, run this command and follow the prompts.
grunt-init masseuse
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.
After the files are generated, you are ready to install the dependencies:
# global dependencies (if not yet installed)
npm install -g grunt-cli bower phantomjs mocha-phantomjs
# project dependencies
npm install && bower install
and try out the project:
grunt server