Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save djones/512578 to your computer and use it in GitHub Desktop.
Save djones/512578 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
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.
@djones
Copy link
Author

djones commented Aug 7, 2010

if you go to create your first user and you get stuck in a URL like this: http://localhost:3000/users/new?locale=en

just remove the "?locale=en" to keep going

@stevenheidel
Copy link

gem install bundler --pre

works just as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment