Name: power-ui
Owner: Futurice
Description: power.futurice.com new UI
Created: 2015-08-13 08:01:59.0
Updated: 2018-05-21 10:25:01.0
Pushed: 2016-10-03 12:00:16.0
Homepage: null
Size: 1470
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Power.futurice.com new UI.
Make sure you are using a recent npm version, e.g. v2.13.x.
install
If you work at Futurice with access to the private backend repository, follow the instructions below. Otherwise, for the general public, this repository serves only as an example of a Cycle.js frontend app.
Clone the backend repository (http://github.com/futurice/power) and follow its instructions to run it locally in your computer. By default it is expected to run at http://localhost:8000/api/v1/
. You can configure the expected host by using BACKEND_HOST environment variable. For example: BACKEND_HOST="http://localhost:8001"
.
To continuously compile and lint:
run watch
Then open your browser at localhost:8080
.
Before committing a new change, run the tests with
run test
comedius
server via SSH./opt/power-ui
git pull origin master
(might need to do it as sudo)npm install
npm run build
run build
PeoplePage
is the component function, and peoplePage
is the output, i.e., var peoplePage = PeoplePage(args);
. These are not constructors.