This will stand up a vagrant docker host and build/start the 2 docker containers needed to run the app.
$ git clone git@github.com:Google-IO-Extended-Grand-Rapids/conference_web.git
$ cd conference_web
$ vagrant up --no-parallel
In order to allow this, you must destroy the Vagrant container so the appropriate ports are forwarded
If you do not want to run the web docker container, and instead would prefer to only startup the database container, then please follow the instructions below After making these modifications, when you perform the vagrant commands (up, halt), it will only be for the db
Here is a list of database commands that can be ran as maven
$ mvn liquibase:rollback -Dliquibase.rollbackTag=version_1.1
Please be sure to always add to the end of the liquibase scripts.
By default, install is being used by our DockerFile during build. Right now it's rigged to point at a specific IP address in the vagrant machine, which isn't ideal. But hey, it works for now.
To run stuff locally and hit the postgres container in vagrant, use the 'travis' profile that has a config setup to hit localhost.
$ mvn clean install -Ptravis
Here is a list of the available apis in the system