-
Build and compile
./gradlew build
(NOTE: you may have to setup database before build can pass) -
Run dev server (spring)
./gradle bootRun
ALL COMMANDS BELOW SHOULD BE RUN IN web/ FOLDER
-
go to web/ directory
-
install all the dependencies:
yarn install
-
build and compile
yarn run build-dev
-
start dev server (webpack)
yarn run start
- If you don't have mysql, install mysql through HomeBrew:
brew install mysql
(Other installation methods are highly unrecommended!) - open mysql in terminal:
mysql -u root
ormysql -uroot
(you may want to runmysql.server start
first) - First run scripts in schema_setup.sql
use redcross;
- run the rest of the scripts in table_setup.sql