by Fernando Obieta - blanktree.ch, Simon Fischer & Claudio Rainolter
Functional prototype of a new ticket vending machine (TVM) for the Swiss Federal Railways (SBB).
You'll need the following software installed to get started.
- Node.js: Use the installer for your OS.
- Git: Use the installer for your OS.
- Windows users can also try Git for Windows.
- Gulp and Bower: Run
npm install -g gulp bower- Depending on how Node is configured on your machine, you may need to run
sudo npm install -g gulp bowerinstead, if you get an error with the first command.
- Depending on how Node is configured on your machine, you may need to run
Install the dependencies. If you're running Mac OS or Linux, you may need to run sudo npm install instead, depending on how your machine is configured.
npm install
bower installWhile you're working on your project or just want to look at a local version, run:
npm startThis will compile the Sass and assemble your Angular app. Now go to localhost:8080 in your browser to see it in action. When you change any file in the client folder, the appropriate Gulp task will run to build new files.
To run the compiling process once, without watching any files, use the build command.
npm start build