jejacks0n / mercury

Mercury Editor: The Rails WYSIWYG editor that allows embedding full page editing capabilities directly inline.
http://jejacks0n.github.com/mercury
Other
2.63k stars 531 forks source link

Installation woes #2

Closed balupton closed 13 years ago

balupton commented 13 years ago
$ git clone https://github.com/jejacks0n/mercury.git
$ cd mercury
$ bundle install
$ rails server

Then going to http://0.0.0.0:3000/ results in http://awesomescreenshot.com/070f8yy29

jejacks0n commented 13 years ago

The steps you're following aren't the installation steps, but the development installation steps. What you're seeing there is Terrence's love of Katy Perry and the regression testing (manual testing) page.

balupton commented 13 years ago

Alright, so so what are the correct steps? / where can I find them. :)

On 22/06/2011, at 1:34 AM, jejacks0nreply@reply.github.com wrote:

The steps you're following aren't the installation steps, but the development installation steps. What you're seeing there is Terrence's love of Katy Perry and the regression testing (manual testing) page.

Reply to this email directly or view it on GitHub: https://github.com/jejacks0n/mercury/issues/2#issuecomment-1411204

jejacks0n commented 13 years ago

Yup, it would've probably been useful if I included that here. =) To develop on the project you can clone this repo and do whatever you'd like -- I'll happily accept pull requests. Or if you want to use it in a project you can follow the installation instructions in the readme -- however, since things are changing pretty quickly with the Rails asset stack, it may be easier right now to clone this project like you've done.

If you'd just like to see a simple demo that's not polished at all you can follow these steps.. I just did this myself to confirm that it works properly:

git clone https://jejacks0n@github.com/jejacks0n/mercury.git
cd mercury

If you have RVM installed you'll be asked to setup a gemset (not needed, but nice for you, because Mercury is using Ruby 1.9.2)

gem install bundler
bundle

Make yourself a cup of tea while you wait, as this includes all the development dependencies as well, like jasmine, cucumber, etc.

rails s thin

You can then access it at 'localhost:3000' .. the editor should load.

To run the specs, run 'rake spec:javascripts', or browse to 'localhost:3000/evergreen' if you'd like to run them individually.

Hope that helps.

jejacks0n commented 13 years ago

closing because one day this may no longer be accurate and I don't want to have to remember it. =)