Sha256: f0d04958b1d8c09011c36a8b5dfbbabbd9dda929a2d1b6b660d087b38ea9a7e6
Contents?: true
Size: 1.7 KB
Versions: 60
Compression:
Stored size: 1.7 KB
Contents
Bonethug Project Skeleton ========================= Requirements ------------ - Ruby 1.9.3 + - PHP 5.3 + (if using a php based project skeleton) - Linux / OSX - Apache - MySQL 5.5 + Overview -------- - Deployment handled with mina. see [https://github.com/nadarei/mina] - Cron handled wtih whenever. [https://github.com/javan/whenever] - Backups handled with astrails-safe. [see https://github.com/astrails/safe] - Ruby dependency management handled with bundler. see - Built on the Silverstripe framework, CMS and Installer - 3.1.x dev branch. - PHP dpendency management handled with composer. see [https://packagist.org/] Set Up ------ ### Pre-requisites 1. If you are windows you'll need some better unix command support. Make usre you install git for windows and this also helps: http://www.robvanderwoude.com/unixports.php 2. Firstly you need an MAMP / LAMP / WAMP etc stack, ruby 1.9.3 and curl for composer, if you're on windows there's an installer for composer 3. You need to have bundler and composer (for PHP) installed **bundler** `gem install bundler` **composer** `cd /path/to/project/root && curl -s http://getcomposer.org/installer | php` ### Development 1. clone the repo, create the db, update config/cnf.yml if needed 2. Setup a vhost - look at the one defined in deploy.rb 3. run: `bundle install -–path vendor` `php composer.phar install` ### Deployment This only works on \*nix based OSes 1. Setup the project `bundle exec bonethug setup {staging|production}` 1. Deploy the project `bundle exec bonethug deploy {staging|production}` ### Other Commands and more info <https://github.com/azt3k/bonethug>
Version data entries
60 entries across 60 versions & 1 rubygems