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 or similar workshops, please contact our training team (workshop is available in German and English).
Who we are, what we do and what the workshop is about
Introduction to JavaScript, basic features and common pitfalls. Start here, if you are new to JavaScript or want to learn more about the language of the workshop.
The workshop's tasks focus on AngularJS basics in the beginning. These slides will get you up to speed in no time.
In this workshop, we will work on an AngularJS app called the movie database. It is a very simple application that allows you to manage information about movies. You can create, edit and delete movie information.
All the project's sources are available in this GitHub repository:
codecentric/coding-serbia-angularjs-workshop.
The virtual machine (see below) already has a clone of this repository,
so all you need to do is a git pull
to get the latest updates.
If you install the tools natively without using the virtual machine, you
can get a copy of the repository by doing
git clone https://github.com/codecentric/coding-serbia-angularjs-workshop.git
We provide an Ubuntu-based virtual machine that can be run using Oracle VirtualBox. The virtual machine plus installation files for VirtualBox for various operating systems are on the memory stick that you should have received. You can of course also install the necessary software directly on you machine, without using a virtual machine. Since we only have four hours for the workshop the VM might be the easiest option, though.
Install VirtualBox, either from the provided memory stick or by downloading it from virtualbox.org. You can also use your system's package manager to install it. VirtualBox versions 4.2.x and 4.3.x and should do fine.
Once VirtualBox is installed you can start VirtualBox and import the virtual
machine from the memory stick (agile-javascript-vm.ova
):
File -> Import Appliance. Follow the
wizard until the end and start the virtual machine.
Log in with the ccworkshop
account. The password is codecentric
.
If you open a shell with the provided desktop icon you will be automatically in
the project directory, /home/ccworkshop/angularjs-workshop
.
Do a git pull
, just in case there were updates to the codebase after
the virtual machine has been created.
You should now be good to go!
Installing the required tools natively on your machine might require some time but is an alternative to using the virtual machine.
Providing detailed installation instructions for all the tools is out of scope for this document. Most of the necessary tools feature an excellent documentation that you can refer to should you run into any issues.
npm install -g grunt-cli
. Depending on your setup, you might
need to prepend sudo
to get the necessary privileges.
git clone https://github.com/codecentric/coding-serbia-angularjs-workshop.git
So now you have installed all necessary software, you have cloned the movie-database repository and you want to start hacking! Here are some information, you might find useful.
grunt dev
and more.
Documentation of the movie-database internals, configuration, available grunt-tasks.