Sha256: f588fe89188c7c728887b265545a0bc6246e82078a5bc7d3ae67833c16f55dc8

Contents?: true

Size: 1.58 KB

Versions: 16

Compression:

Stored size: 1.58 KB

Contents

Bonethug Silverstripe Project Skeleton
======================================



Requirements
------------

-   Ruby 1.9.3 +

-   PHP 5.3 +

-   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 this 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 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 –binstubs `

`php composer.phar install`



### Deployment



This only works on \*nix based OSes



1.  Setup the project

`export to={staging|production} && bundle exec mina setup`



1.  Deploy the project

`export to={staging|production} && bundle exec mina deploy`




Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
bonethug-0.0.24 skel/base/README.md
bonethug-0.0.23 skel/base/README.md
bonethug-0.0.22 skel/base/README.md
bonethug-0.0.21 skel/base/README.md
bonethug-0.0.20 skel/base/README.md
bonethug-0.0.18 skel/base/README.md
bonethug-0.0.17 skel/base/README.md
bonethug-0.0.16 skel/base/README.md
bonethug-0.0.15 skel/base/README.md
bonethug-0.0.14 skel/base/README.md
bonethug-0.0.13 skel/base/README.md
bonethug-0.0.12 skel/base/README.md
bonethug-0.0.11 skel/base/README.md
bonethug-0.0.10 skel/base/README.md
bonethug-0.0.7 skel/base/README.md
bonethug-0.0.6 skel/base/README.md