Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ugisozols/544843 to your computer and use it in GitHub Desktop.
Save ugisozols/544843 to your computer and use it in GitHub Desktop.
= 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
git checkout rails3
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 rails3
= 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 rails3
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment