Selfstarter makes it easy to roll your own crowdfunding site. To get started, fork this repository and change around config/settings.yml to suit your needs.
Grab homebrew to install extraproject dependencies
ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"Please note, you might not have the necessary compilers & may have to download XCode + XCode command line tools from developer.apple.com.
Update homebrew
brew updateInstall mysql
brew install mysql& git if you dont have it.
brew install git& imagemagick (for use by paperclip)
brew install imagemagickGrab RVM. Here is the rvm site
\curl -L https://get.rvm.io | bash -s stable --rubyInstall ruby 1.9.2
rvm install 1.9.2Clone the openfund repo
git clone git@github.com:igorgue/openfund.gitCreate your .rvmrc file in the openfund directory, it should contain the following
rvm 1.9.2@openfundNow make sure you're using ruby 1.9.2
rvm use 1.9.2Alright, now create the gemset
rvm gemset create openfundNow make sure you are in your openfund directory & source your .rvmrc file
cd /path/to/openfund/ && source .rvmrcyou should get this sort of output
====================================================================================
= NOTICE =
====================================================================================
= RVM has encountered a new or modified .rvmrc file in the current directory =
= This is a shell script and therefore may contain any shell commands. =
= =
= Examine the contents of this file carefully to be sure the contents are =
= safe before trusting it! ( Choose v[iew] below to view the contents ) =
====================================================================================
Do you wish to trust this .rvmrc file? (/Users/austonbunsen/Sites/bootstrap/.rvmrc)
y[es], n[o], v[iew], c[ancel]> Hit y+enter. Now run
bundle installNext create the database
rake db:createand migrate it
rake db:migrateand seed it
rake db:seedFinally you can run our app
rails server