Skip to content

coopernurse/backbone-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backbone POC

Install

First, install Vagrant

Then, from a shell:

git clone git://github.com/coopernurse/backbone-poc.git
cd backbone-poc
vagrant box add base http://files.vagrantup.com/lucid32.box
vagrant up
vagrant ssh
cd /vagrant  (this will take you to the dir containing this README.md on the VM)

To stop the vm:

vagrant halt

Once you're logged in, use make to start/stop the dev server, and run tests:

# build all files
mkdir docs
make all

# clean all generated files
make clean

# start / stop dev server
#
# server can be reached at: http://192.168.33.10:8080/
#
make start
make stop

# run all tests via phantom
make phantom

# run a single test
make phantom-single TEST=login_test

# 'watch' all .coffee files, and rebuild client .js on changes
make watch

# 'watch' a single test file and all src files. rebuilds .js and runs single test on changes.
make watch-phantom-single TEST=login_test

# restart dev server and watch a test
make stop; make start; make watch-phantom-single TEST=login_test

# translate Barrister .idl to .json
make barrister

About

Backbone + Barrister proof of concept app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published