Skip to content
forked from omzmarlon/you_bc

YOU.BC - Social Network for UBC students

Notifications You must be signed in to change notification settings

tomyang729/you_bc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOU.BC - Social Network for UBC students

Install Maven:

  1. Download latest binary maven from: https://maven.apache.org/download.cgi to appropriate directory
  2. Install maven by unzip and setting appropriate path by following this page: https://maven.apache.org/install.html

Full application build

# 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

Only Server Build

# run this cmd in you_bc-service
mvn clean install
jOOQ code gen:
# run this cmd in you_bc-service
mvn install -PjooqCodeGen

Only Client Build

# Frontend Dev:
yarn install
yarn start-dev

# Throught maven:
# run this cmd in you_bc-webapp
mvn clean install

Database setup

  • 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%';

Technologies:

  • React.js
  • Spring Framework
  • Maven build tool

About

YOU.BC - Social Network for UBC students

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 63.7%
  • JavaScript 33.6%
  • CSS 2.2%
  • HTML 0.5%