Skip to content

Prerequisites

Marijo Horvat edited this page Nov 13, 2016 · 6 revisions
  1. Install Java 8 (JDK, not JRE)

  2. Install PostgreSQL and optionally pgAdmin

  3. Create database (connect to PostgreSQL using pgAdmin, select database postgres and open Tools -> Query tool):

    CREATE DATABASE mentor
      WITH OWNER = postgres
           ENCODING = 'UTF8'
           TABLESPACE = pg_default
           TEMPLATE = 'template0'
           LC_COLLATE = 'C'
           LC_CTYPE = 'C'
           CONNECTION LIMIT = -1;
    
  4. Create database user (select password other than secret :) ):

    CREATE ROLE mentor LOGIN
      PASSWORD 'secret'
      NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;
    
  5. Windows users only:: - Select databse mentor and open Tools -> Query tool

     CREATE COLLATION pg_catalog."hr_HR" (
     	LC_COLLATE = 'Croatian_Croatia.1250',
     	LC_CTYPE = 'Croatian_Croatia.1250'
     );
    
  6. Install Git (possible alternative on Windows: TortoiseGit)

  7. git clone https://github.com/vsite-hr/mentor.git

  8. cd mentor

  9. Create gradle.properties from given template with locale-specific configuration

Clone this wiki locally