Scripted Rails setup for Ubuntu 10.04

Graham Jones grahamjones139 at gmail.com
Mon Sep 12 09:31:40 BST 2011


Hi Chris,
Snap!  A couple of weeks ago I set up the rails code for the first time and
did something similar - mine is bundled into a debian package, but all that
does is install the ubuntu dependencies for you and run a script similar to
yours.
My code is at https://github.com/jones139/MeraMap - look at the meramap-api
directory, but I think Parveen has started merging it into his main
'meramap' repository which he has developed for his Google Summer of Code
project (I forked it to add meramap-api).

Maybe we should compare notes to see if there is anything to learn from the
different approaches?   I kept getting confused by the rails code having '
openstreetmap.org' hard coded into it, so I change it to something else so
that I don't start looking at the live OSM site by accident.   I forget what
else it does now, because I stopped working on it once I got to the GPX
import code, which is what I wanted to test, so it may not have the main api
code working properly.   Also un-installing will not be tidy (no effort to
remove the database etc.).

Regards


Graham.

On 12 September 2011 02:25, Chris Fleming <me at chrisfleming.org> wrote:

>
> I was setting up the rails port on a Virtual Machine this evening, and
> decided to script the process up to help others.
>
> The script lives at:
> https://github.com/**chrisfleming/setup-osm-rails<https://github.com/chrisfleming/setup-osm-rails>
>
> These is no error handling or checking(for now), but it works for me.
>
> The process (tested from a clean installed Ubuntu 10.04) is:
> git clone git://github.com/chrisfleming/**setup-osm-rails.git<http://github.com/chrisfleming/setup-osm-rails.git>
> cd  setup-osm-rails
> ./install_package.sh
>
> This will go away and sort everything out. When it's finished if the tests
> worked then it should all be fine...
>
> I'm also happy to make the Working VM available if there's interest?
>
> Cheers
> Chris
>
> --
> e: me at chrisfleming.org
> w: www.chrisfleming.org
>
>
> ______________________________**_________________
> rails-dev mailing list
> rails-dev at openstreetmap.org
> http://lists.openstreetmap.**org/listinfo/rails-dev<http://lists.openstreetmap.org/listinfo/rails-dev>
>



-- 
Graham Jones
Hartlepool, UK.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20110912/82c68c29/attachment.html>


More information about the rails-dev mailing list