Deployment on Synapse

Submitter: detwiler

Notes from deployment on synapse:

* Build scenegen app using “live” Maven profile:

mvn clean install -DskipTests -Plive

* Installed Postgres on synapse via Yum

yum install postgresql-server postgresql-contrib

postgresql-setup initdb

systemctl start postgresql

systemctl enable postgresql

* Fix Postgres permissions

* Change ‘postgres’ database user to have same password as in the “live” Maven profile

* Change pg_hba.conf file to allow logins (I just copied the file from ethmoid2)

* scp /usr/local/scenegen from ethmoid2 to synapse

* chmod -R a+w scenegen

* Install war file built in the first step to Tomcat on synapse via the manager app