tw-wh-devops-community / 17high_web

Single Web Application of 17High

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

17High

Build Status

CI & Test environment

CI is host on aws china with Jenkins

Test Environment

Requirement:

Docker is installed;

Java8 is installed

install front develop dependency

Enter src/websrc, read README.md and prepare front-end develop environment
And then You need to do nothing but read  'Run Spring boot on local' section.

Run Spring boot on local

./localrun.sh
This script contains 'yarn bundle-watch' and './gradlew bootRun',so springboot will start, and react will automatic compile.

You don't need start mysql on local manually. bootRun will start a local h2 database for development.

Run dode check

./gradlew check

Run backend unit test alone

./gradlew test

Run backend integration test alone

./gradlew integration

integration test will use h2 in memory database as its data backbone.

Run Mysql on local Docker

you can run

./startMysql.sh

Page URLs

default page: /#/screen
screen page: /#/screen
list page: /#/home
add event page: /#/editor

EC2 On and Off Travis Jobs

Travis jobs build on two branches, one is for start and the other one is for stop. ps: please make sure you have access of on-and-off repo

AWS login url

Wuhan Devops AWS Login Console

About

Single Web Application of 17High


Languages

Language:JavaScript 68.4%Language:CSS 15.8%Language:Java 12.3%Language:Shell 2.9%Language:HTML 0.6%