Skip to content

Installing a new project

Daniel Durante edited this page Feb 10, 2014 · 6 revisions

Before you begin, ensure that you have the following installed:

  1. Node.JS & NPM from nodejs.org
  2. npm install bower -g for Bower
  3. npm install grunt-cli -g for GruntJS

Use the following commands to get up and running with CleverStack CLI.

1. Install the CleverStack CLI globally.

$: npm install -g cleverstack-cli

2. Create a new CleverStack project.

$: clever init my-app

3. Run your development servers:

$: cd my-app
$: clever serve

Note: If your in the main project directory this will start the grunt server for both front-end and back-end. If your inside front-end folder it will start the front-end grunt server only. So you could have 2 terminals, 1 running front and 1 running back.

4. In your web browser open:

http://localhost:9000

Next: Frontend (AngularJS)

Clone this wiki locally