Here we keep a live version of some experiments we are trying for the onboarding process.
For the production repository check here:
https://github.com/fablabbcn/smartcitizen-onboarding-app
You need git to clone the repository. You can get git from http://git-scm.com/.
We also use a number of node.js tools to initialize and test the Web App. You must have node.js and its package manager (npm) installed. You can get them from http://nodejs.org/.
Also gulp: npm install -g gulp
(with sudo
if you are using Mac).
Clone the repository using:
git clone https://github.com/fablabbcn/smartcitizen-onboarding.git
cd smartcitizen-web
- Install tools to manage and test the application:
npm install.
- No need of
bower install
,npm install
will take care of it.
gulp
orgulp build
to build an optimized version of your application in/dist
gulp serve
to launch a browser sync server on your source filesgulp serve:dist
to launch a server on your optimized applicationgulp test
to launch your unit tests with Karmagulp test:auto
to launch your unit tests with Karma in watch modegulp protractor
to launch your e2e tests with Protractorgulp protractor:dist
to launch your e2e tests with Protractor on the dist filesgulp deploy
to publish the project to Github pages (gh-pages branch).
Note: in case you see something like:
Error: Command failed: fatal: unable to read c6a8d370f3e95d9110eca4a03b704bd8940ca40b
Run:
rm -Rf $(node -e "console.log(require('path').join(require('os').tmpdir(), 'tmpRepo'))")
This is a Work in process... Final documentation coming soon!
- Forum forum.smartcitizen.me
This work has received funding from the European Union's Horizon 2020 research and innovation program under the grant agreement No. 688620