1. Cloudharbor
  2. Untitled project
  3. Frontend

Overview

HTTPS SSH

Cloudharbor Front-end

Requirements

Run/install the app for the first time

Before running the app make sure you've installed all the requirements.

npm install -g bower gulp-cli

After installing the requirements run the following commands:

//installs all necessary npm modules defined in package.json
npm install

//installs all necessary bower packages defined in bower.json
bower install

//compiles all JS and Sass and injects bower packages in main.scala.html
gulp build:dev

//compiles the Play application
activator compile

Run the app

To run the application run activator run and in a separate terminal window or tab run either gulp watch or gulp serve. Use gulp watch if you just want to compile client assets (JS, Sass etc.), use gulp serve if you also want the browser to refresh when you've made changes to client assets.