This project contains both infa, backend and frontend.
In the frontend folder you'll find grunt, bower and npm stuff to get going
To get the backend up and running you'll need:
- Vagrant (get it from: http://www.vagrantup.com/)
- VirtualBox (get it from: https://www.virtualbox.org/)
- Vagrant hostsupdater (after installing virtual box open a command line:
vagrant plugin install vagrant-hostsupdater
) - After that you can issue
vagrant up
. This will take a while... - After enter:
sh refresh.sh
from the root folder - This script will compile the backend and make sure it will run
- The hosts updater plugin has edited your host file
/etc/hosts
. So now if you goto teevy.co you'll get a page which is served by the vagrant machine. The files which are been served are in the frontend/static folder. It might be that you won't see styling.. just run the grunt task and make sure it compiles js/css and you'll be fine.
- Open local terminal and navigate to the root of the project
vagrant ssh
to open a SSH connection to the virtual machine- change directory to
/work/releases/1.0.0
- Issue the command
psql -U teevy --host=10.1.2.3 --password --dbname=teevy -f teevy.sql
- Now enter the password:
blabla
- Now you imported the database of version 1.0.0