Hi, i have checked out the clockingit to my testing domain testing.mydomain.com which is on the dreamhost server . so, what all changes i have make so that my applications should work properly.
Its not working as per ur README file there are many issues under it like . 1. I have my domain like testing.mydomain.com so when i typed testing.mydomain.com it will treate it like subdomain or the main site . 2. I am not able to run the push_server as the sudo command will not be allowed in our shell of dreamhost
The readme also says that you need to override the www.clockingit.com domain temporarily in your hosts file, to allow you to sign up and create the initial account. Once the initial account is created, you can access from whatever subdomain you created by updating config/environment.rb and setting $CONFIG[:domain] to mydomain.com
sudo is just a system which lets you run commands as root using your own accounts password, and can easily be dropped if you're able to get root by other means.
The readme I have in the root of my cit checkout says nothing about overriding the domain temporarily. Given that I am finding it impossible to do a local install, I'd love to know where this expanded Readme can be found so I can make some progress!
Well, I had to edit the database.yml-example file to include my dreamhost sql hostname, as dreamhost don't allow "localhost" by default.
Once that was fixed, I navigated to the root page and saw lots of issues. So, I started the ferret server ( ./scripts/ferret-server -e production start... or something)
Login page! Wooho! I log in.... Dashboard! Hurrah! I click on a link in the menubar.... SPLAT.
"Something went wrong". Attempts to return to the dashboard were met with the same error now.
I'm completely lost on why this would happen or how to diagnose it. The production.log indicated a sever 500 error, but not much besides.
Any advice? I've heard elsewhere that DH don't like people running ferret servers, but after I received the error messages I checked, and it LOOKED like the ferret server I started was still running. I rebooted it just to be sure, but the errors would not go away.
I am completely stumped now on how to get this working on DH. From what I've seen on the hosted solution for CIT, I'd love to get the darned thing running!
Could you either post here or email me the first error you get in the production log after restarting your mongrel/apache? With the complete stack trace.
There is no option for me to restart apache on my hosting at Dreamhost, I think they'd be a little... upset if all their customers could reboot their service! :)
I've deleted everything from Dreamhost to start again with a clean slate. When I get to the same point again, I'll post back here with the production log details. I'm not 100% on the behaviour of ferret and the ferret server, as well as whether Dreamhost support it, so it might be that the attempt is doomed to fail from the outset, but i'll give it a try.