Skip to content
kelto edited this page Nov 11, 2015 · 2 revisions

Code Convention

To know the AstroVisor project coding convention look at [Code Convention](Code Convention).

AstroVisor web client

Prerequisites

  • node >= 10.0
  • npm
  • git

Node modules required as global : gulp bower. To install them run (may requires sudo on linux)

npm install -g gulp bower

Gulp commands

Once all is ready you can run the following commands :

  • npm install && bower install : will install all dependancies
  • gulp deploy : build and deploy the entire webapp
  • grunt serve : serve the application files on port 9001

AstroVisor Server

Prerequisites

  • grails 2.3.11

Build

A grails binary is included in the project to help the deployment.

All the available command for grails are listed on the official website

But only these command are usefull for this project:

  • grails dev run-app : will run the server for development
  • grails test-app : will launch all the test
  • grails prod run-app: will build and launch the server in production (gulp deploy must have been launch)