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

2015-06-03 Thread Brett Henderson
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.jaub...@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@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/osmosis-dev

___
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev


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

2015-03-12 Thread Jocelyn Jaubert
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@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osmosis-dev