Advertisement
Guest User

Untitled

a guest
May 3rd, 2017
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. git clone git@github.com:elsevierPTG/eols-assessment-service.git
  2. git clone git@github.com:elsevierPTG/EOD-DBMigrations.git
  3. brew install postgres
  4. brew install gradle
  5. pg_ctl -D /usr/local/var/postgres start
  6. psql -d postgres
  7. create database eod;
  8. create user eoduser password 'testing123' SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;
  9. create user eols password 'Baseball1' SUPERUSER INHERIT CREATEDB CREATEROLE REPLICATION;
  10. \q
  11. cd EOD-DBMigrations
  12. gradle -Pflyway.placeholders.DB_OWNER=eoduser -Pflyway.user=eoduser -Pflyway.password=testing123 -Pflyway.url=jdbc:postgresql://localhost:5432/eod -Pflyway.schemas=eod flywayMigrate -i
  13. cd ../eols-assessment-service
  14. ./gradlew bootRun
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement