- Download latest binary maven from: https://maven.apache.org/download.cgi to appropriate directory
- Install maven by unzip and setting appropriate path by following this page: https://maven.apache.org/install.html
# Run in project root
# This will fully package web-app and backend service into a jar
# No additional installation required except Maven
mvn clean install
# Run application
java -jar you_bc-service/target/youbc-service-1.0.0.jar
# run this cmd in you_bc-service
mvn clean install
# run this cmd in you_bc-service
mvn install -PjooqCodeGen
# Frontend Dev:
yarn install
yarn start-dev
# Throught maven:
# run this cmd in you_bc-webapp
mvn clean install
-
Make sure you have mysql installed properly
-
Configure db, username and password in database.properties
-
create database and tables using scripts in you_bc-service/src/main/resources/schemas
-
If you are on mac, create my.cnf at /etc/mysql, and then add these:
[mysqld]
character-set-server=utf8mb4
[mysql]
default-character-set=utf8mb4
- In the chosen database, call:
SET NAMES utf8mb4;
- Make sure related variables are utf8mb4:
SHOW VARIABLES WHERE Variable_name LIKE 'character\_set\_%' OR Variable_name LIKE 'collation%';
- React.js
- Spring Framework
- Maven build tool