Setting up WattDepot database users for tests.

4 views
Skip to first unread message

Carleton Moore

unread,
Jul 11, 2013, 5:56:45 PM7/11/13
to wattdep...@googlegroups.com
Hi all,

I have a couple of questions about setting up a new WattDepot development environment,
especially for continuous integration. I'm trying to use Travis CI for my continuous integration
environment and it creates a new VM each time it runs. So I need a script that sets up the
WattDepot development environment from scratch.

Since WattDepot supports Postgres and the unit tests try to connect to Postgres, what 
user/role and databases should/must I configure in Postgres before running the tests? 

Also do I absolutely need a wattdepot-server.properties file? It looks like I have to create one
to set the "wattdepot-server.db.username" and "wattdepot-server.db.password" properties.

Mahalo,
Cam
Reply all
Reply to author
Forward
0 new messages