The front end GUI for jenca-cloud
You need an environment with Docker and make installed
NOTE: if you want to run the build locally (i.e. outside of Docker) - you need the latest node.js 5.2.0.
An easy way to do this (on Linux at least) is to use nvm
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash
$ nvm install 5.4.0
$ nvm use 5.4.0
First build the images then run make build - the code will be output into /dist (which is .gitignored)
$ make images
$ make build
The makefile will run the tests:
$ make test
This command will serve a dev version of the gui on port 80 of the Vagrant VM:
$ make start
If you want to have file watchers active for automatic rebuild - you need to run the build locally:
$ npm install
$ npm run build
$ npm run watch
$ npm test
The following is an example of the state tree we pass to redux:
var state = {
projects:{
loaded: '{boolean,notnull}',
loading: '{boolean,notnull}',
error: '{string}',
data: '{array}
},
user:{
loaded: '{boolean,notnull}',
loading: '{boolean,notnull}',
error: '{string}',
data: '{object}
}
}
Content type
Image
Digest
Size
87.1 MB
Last updated
over 10 years ago
docker pull jenca/jenca-gui