[osmosis-dev] Configuring database to run tests from source code

Brett Henderson brett at bretth.com
Thu Jun 4 03:54:07 UTC 2015


Hi Jocelyn,

The simplest way is to use the docker image provided by Osmosis.  There is
a readme.txt file in the following directory with instructions.
https://github.com/openstreetmap/osmosis/tree/master/db-server

Brett

On 12 March 2015 at 01:14, Jocelyn Jaubert <jocelyn.jaubert at gmail.com>
wrote:

> Hi,
>
> I intend to do some changes in the source code, so I firstly downloaded,
> compiled and ran the tests. I'm hitting an issue as tests expect the
> databases to already be configured, and initialized with some tables.
>
> Is there a script to initialize all necessary databases ?
>
>
> If not, I can begin to write a (shell) script to run all createdb/psql -f
> commands necessary.
>
>
> For information, I'm running the following command:
> ./gradlew build
>
>
>
> Thanks,
> Jocelyn
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osmosis-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20150604/30fb4462/attachment.html>


More information about the osmosis-dev mailing list