https://github.com/timonvs/cloudharbor-frontend
https://github.com/timonvs/cloudharbor-frontend
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/timonvs/cloudharbor-frontend
- Owner: TimonVS
- Created: 2015-12-10T09:09:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-10T09:10:18.000Z (about 10 years ago)
- Last Synced: 2025-03-24T11:49:03.009Z (10 months ago)
- Language: CSS
- Size: 5.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cloudharbor Front-end
## Requirements
- [Node.js](https://nodejs.org) 0.10 or up
- [npm](https://www.npmjs.com) (included with Node.js)
- [Scala](http://www.scala-lang.org) 2.11.4 or up
- [Play framework](https://www.playframework.com)
- [Activator](https://www.typesafe.com/community/core-tools/activator-and-sbt) (included with Play framework)
- [Gulp](http://gulpjs.com)
## 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:
```javascript
//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.