Closed balupton closed 13 years ago
Looks like you didn't start mongodb or that you didn't update the config/mongoid.yml file.
Didn't have mongo db installed: http://www.mongodb.org/display/DOCS/Quickstart+OS+X
Okay I've added the following to /etc/hosts
# Locomotive
127.0.0.1 locomotive
127.0.0.1 balupton.locomotive
Ran through the setup process, and specified balupton as the subdomain and used the HTML5 Portfolio skin.
Here are the new errors when accessing the pages http://localhost:8080/admin/sign_in - no site http://locomotive:8080/ - AbstractController::ActionNotFound http://balupton.locomotive:8080/ - no site
balupton: I followed the installation instructions and setup my hosts like you have and managed to get to the installer, the first and last URL's you gave work fine but the second one won't work.
If you already have a site setup in the database that doesn't match your 'balupton.locomotive' subdomain then you'll get the no site error. You can fix this by recreating the datbase, just run:
rake db:drop db:create
Also you should probably be using a real domain eg, locomotive.com or locomotive.local instead of just locomotive.
Make sure you also set the domain in the locomotive config config/initializers/locomotive
config.default_domain = 'locomotive'
thanks Mario for the very good explanations. That's right, it's better to have a correct domain name (tld = 2 at least).
I close it
Thanks Mario, that did it. I changed it to locomotive.local and balupton.locomotive.local
I'm running through http://www.locomotivecms.com/support/installation/source right now and just been having problem after problem:
The above just runs forever erroring.