Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
/ a64 Public archive

A clean and 100% test-covered Rails-application you may fork and use as a starter-app for you own project(s).

Notifications You must be signed in to change notification settings

iboard/a64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT A64 README

A clean and 100% test-covered Rails-application you may fork and use as a starter-app for you own project(s).

Fork project

git clone git://github.com/iboard/a64.git
cd a64
bundle

Test

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

or run it by the rake-task

rake coverage:cover

open command (1)

See current coverage-document

Deploy to your server

Requirements

  • Debian/Ubuntu server
  • Apache with proxy and proxy-balancer
  • ruby 1.9.3 ( Mongoid 3 doesn't work with ruby < 1.9.3! )

Prepare

  1. Create file `config/servers/your.server.com.rb
  2. Create directory `config/servers/config/your.server.com (2)

Deploy

Edit config/deploy.rb and modify the SETUP-section to fit your needs

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

Documentation, YARD

yard
open doc/index.html

Engines

  • Admin
  • User --development not started yet--

Live Demo

http://a64.iboard.cc


Contact

Andreas Atendorfer
4053 Haid, Austria

Please read and use Github issues before sending an e-mail.

License

This is a "Free Project"

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.

Footnotes

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.

About

A clean and 100% test-covered Rails-application you may fork and use as a starter-app for you own project(s).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published