[OSM-dev] Set up rails on dev server -- what comes next?

SteveC steve at asklater.com
Tue May 15 22:12:38 BST 2007


On 15 May 2007, at 21:30, Nick Whitelegg wrote:

>
> Have now installed rails + the database on my space on the dev  
> server. I tried
> running
>
> nick at dev:~/svn.openstreetmap.org/sites/rails_port$ ruby script/server&
>
> and got some initialisation information which suggested it had  
> started OK.
> Note that I had to start it in the background - leaving the  
> ampersand off did
> not automatically background it. Is that expected behaviour?

You're not supposed to background it when you're developing.

> How can I contact the rails server from a web browser? After  
> installing
> rails_port to /var/www/nick on dev, I entered
>
> http://nick.dev.openstreetmap.org:3000/rails_port/
>
> but am not getting a response from the server.

port blocking from UCL

> Also what would be the URL of API calls? Has anyone tried  
> installing the rails
>

/api/0.4/......?


> port on either dev, or their own private server space (as opposed  
> to their
> home box?)
>
> Finally, has anyone generated any Rails-port-compatible SQL to  
> populate the
> database with?
>
> Sorry if that's a lot of questions!
>
> Thanks,
> Nick
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list