If you are reading this, then you are probably here because one of the trainers has given you this URI. If not, then most of this information may not be of interest to you. Should you be interested in this workshop, please contact our training team (workshop is available in German and English).
You have downloaded the necessary software and cloned the movie-database repository. So now you are ready to start hacking.
cd <movie-database-directory>
git pullto get the latest updates, just to be sure.
npm install
npm install -g grunt-cli
test
task. Be sure, that this step succeeds, before moving on!. If the build fails, re-check your setup (phantomjs installed? nodejs-version up-to-date?).
grunt test
dev
. This task start a web-server in the background (on port 3000). The webserver is restarted automatically, whenever a file changes. Moreover, on each file-change, the jshint and unit-test tasks are executed. If you keep an eye on the console output, you will always know, when your code changes break existing tests.
grunt dev