They killed his wife ten years ago. There's still time to save her. Murder is forever... until now.
Bootstrap an Apache/PostgreSQL/ZF2/Ember-CLI application using Vagrant.
- Install Virtualbox (4.3.10+) and Vagrant
sudo apt-get install virtualbox vagrant
- Install Vagrant plugins
vagrant plugin install vagrant-vbguest
vagrant plugin install vagrant-hostmanager
- Start the VM
cd /vm
vagrant up
- Go grab some coffee
- All the vagrant resources live here
- A Zend Framework 2 application intended to be a RESTful API for TimeCop
- Doctrine Documentation
- ZF2 Documentation
- Doctrine Migrations:
- Scaffold:
vendor/bin/doctrine-module migrations:diff
- Migrate:
vendor/bin/doctrine-module migrations:migrate
- Scaffold:
- The web frontend of TimeCop - it's an Ember application
- We're using Ember-CLI specifically. But why?
- Setup local development
sudo apt-get update
sudo apt-get install nodejs npm
cd /path/to/project/web
npm install -g ember-cli
npm install -g bower
npm install -g phantomjs
ember server --proxy http://timecop.com/api
- Some basic Ember-CLI commands
- Database
- Host
192.168.50.4
- Port
5432
- Db Name
timecop
- User
timecop
- Password
jcvd
- Host
- API
- URL
http://timecop.com/api
- URL
- Web
- Latest build
http://timecop.com
- Local build
http://localhost:4200
- Logs
/vm/logs/apache2
- Latest build
- Accessing Your VM
cd /path/to/vm
vagrant ssh
# mapped folder is at: /srv/workspace