A clean and 100% test-covered Rails-application you may fork and use as a starter-app for you own project(s).
git clone git://github.com/iboard/a64.git
cd a64
bundle
Start spork
bundle exec spork
Runs specs
rspec --drb spec/spec_helper.rb spec/**/*_spec.rb
Test and create coverage files
rspec --no-drb spec/spec_helper.rb spec/**/*_spec.rb
open coverage/index.html
open command (1)
- Debian/Ubuntu server
- Apache with proxy and proxy-balancer
- Create file `config/servers/your.server.com.rb
- Create directory `config/servers/config/your.server.com (2)
Initial deploy
cap TARGET=your.server.com deploy:setup
cap TARGET=your.server.com deploy:cold
cap TARGET=your.server.com webrick:start
After update code
git commit -am "Your change notes"
git push
cap TARGET=your.server.com deploy
yard
open doc/index.html
Andreas Atendorfer
4053 Haid, Austria
Please read and use Github issues before sending an e-mail.
Use it as is and do whatever you want. No warranty, No support (expect Github-issues) Keeping (c) remarks and don't hiding the origin is appreciated, tho.
1) the 'open-command' is available on MacOS and opens the file with your default-browser
2) Details about server-configuration-files will follow here.