Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Latest commit

 

History

History
executable file
·
23 lines (22 loc) · 937 Bytes

SETUP.md

File metadata and controls

executable file
·
23 lines (22 loc) · 937 Bytes

Setup:

  • Source code
  • Database import:
    • connect to postgres using psql
    • create database "vitic_2016_1"
    • logout
    • import database using psql:
      • psql --host=gea --username=postgres vitic_2016_1 < vitic_2018.sql
        • where
          • gea: database_server
          • vitic2016_1: database name (previously created)
          • enter password when asked
      • file located in /phi/users/oriol/traspaso/etox_RDT_tool
    • contains the full database dump with confidential data and can not be uploaded to gihub
  • Setup database connection form app:
    • edit config file: conf/application.conf
    • etoxdb.url="jdbc:postgresql://gea/vitic_2016_1"
      • database server (gea in this example)
      • database name (usually vitic_2016_1
      • etoxdb.user=postgres
      • etoxdb.password=XXXXXXXXXX