项目作者: vladigeras

项目描述 :
System for examination commission
高级语言: Java
项目地址: git://github.com/vladigeras/gak.git
创建时间: 2017-12-27T14:08:04Z
项目社区:https://github.com/vladigeras/gak

开源协议:

下载


Description

System for examination commission

Installation:

  1. Install Java 10.
  2. Install PostgreSQL 10 and bind to port 5432

    • Create user in Postgres:

      1. CREATE USER gak WITH PASSWORD 'gak';
    • Create database for new user:

      1. CREATE DATABASE gak WITH OWNER gak ENCODING 'UTF8';
    • Tables will be generated

  3. Execute a command for root module:

    1. $ mvn clean install

Start project

  1. Execute a command for backend module to start as Maven project:
    1. $ mvn spring-boot:run
  2. Application will be available on http://localhost:8080
  3. In this case you must rebuild project after frontend changing to show results,
    1. $ mvn clean install

Run frontend separately with code autoupdate

  1. Execute a command for backend module to start backend part:
    1. $ mvn spring-boot:run
  2. Execute a command for frontend module to start frontend part:
    1. $ npm start
  3. Application will be available on http://localhost:8080
  4. Frontend part will be available on http://localhost:4200
  5. In this case after frontend changing result will be showed.

Read this title to code autoupdate in backend part.
Library spring-boot-devtools as a maven dependency will help.