Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git clone git@github.com:elsevierPTG/eols-assessment-service.git
- git clone git@github.com:elsevierPTG/EOD-DBMigrations.git
- brew install postgres
- brew install gradle
- pg_ctl -D /usr/local/var/postgres start
- psql -d postgres
- create database eod;
- create user eoduser password 'testing123' SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;
- create user eols password 'Baseball1' SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;
- \q
- cd EOD-DBMigrations
- gradle -Pflyway.placeholders.DB_OWNER=eoduser -Pflyway.user=eoduser -Pflyway.password=testing123 -Pflyway.url=jdbc:postgresql://localhost:5432/eod -Pflyway.schemas=eod flywayMigrate -i
- cd ../eols-assessment-service
- ./gradlew bootRun
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement