This Angular2 / Typescript repository contains the code of the public website http://www.qtrpi.com/.
Start by installing Ansible on your development machine:
sudo pip install ansibleInstall fabric:
sudo pip install fabricCreate the file /etc/ansible/hosts:
# Syntax is
# <domain> ansible_user=rootAfter that, execute the following fab task to prepare your dev environment:
fab prepare_dev_environmentYou should now be able to execute:
ng serveAnd navigate to http://localhost:4200
Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class.