kotp
8/25/2010 - 7:25 AM

Contributing to RefineryCMS

Contributing to RefineryCMS

= Setup

=== In your browser
login to http://github.com
go to http://github.com/resolve/refinerycms
if you have a fork already, delete it (if you're not going to loose work. This makes it much easier for us to integrate your changes back in)
click on fork

=== In terminal
git clone git@github.com:USERNAME/refinerycms.git refinerycms
cd refinerycms
gem install bundler --pre
bundle install
cp config/database.yml.sqlite3 config/database.yml
rake db:create
rake db:schema:load
rake db:migrate
rake db:seed
rails server

=== In your browser
go to http://localhost:3000


= I found an issue. Where to a file it?

add it to http://github.com/resolve/refinerycms/issues - as much detail as possible :-)

= Pulling in the latest rails3 branch changes

git remote add -f resolve git://github.com/resolve/refinerycms.git
git pull resolve master

= Contributing a fix

git add path/to/files/changed
git commit -m "your fix"

Note: if you've filed an issue on github add "Closes GH-999" (replace 999 with your issue number) to your commit message and it will automatically link and check it off.

git push origin master

Now to go http://github.com/resolve/refinerycms and click "Pull Request". Type a nice message and send the request.

We'll merge it in if it's all good.