Getting your new project set up is easy. Download the latest Start up kit release using the links at the top of the page. After you've extracted
the files to your project folder, run the command npm install && grunt
. The installation command will install of the dependancies
required to get you up and running. It will also build your project into the dist folder and keep watching for changes you make.
The Rownd start up kit comes rolled with a basic node server so you don't have to do any set up to get your application running on your machine or
on a node ready web server. Simply run the command node server.js
. The default port that the server runs is 2020 but you
can change this by giving your chosen port number as a parameter to the command. E.g. node server.js 8080
The Rownd Start up kit has a very specific project structure, with Grunt included. Below is a simple diagram of how the project is laid out. Directories with a star appear after using the installation command.
├- app/
| ├- controllers/
| | ├- IndexController.js
| ├- helpers/
| | ├- helpers.js
| ├- styles/
| | ├- style.css
| ├- views/
| | ├- 404.handlebars
| | ├- index.handlebars
| ├- index.html
| ├- routes.js
├- *dist/
| ├- assets/
| ├- index.html
├- *node_modules/
├- .jshintrc
├- Gruntfile.js
├- package.json