This repo contain all code for M2 GI Ecommerce project
Valkylit is a jhipster monolithic project using :
Client-side setup :
open a terminal in the root project directory and run :
npm i
Server-side setup :
open a terminal in the root project directory and run :
./mvnw install
Database setup :
There is two way to handle database setup
1. Configure local postgres data base :
Create DB (above the database valkylit owned by user postgres)
psql -U postgres
CREATE DATABASE valkylit;
change src/main/ressources/config/application-dev.yml configuration :
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:postgresql://localhost:5432/{db_name}
username: {user_name}
password:
TODO ADD FIXTURES SCRIPT TO LOAD MOCKED DATA
2. Or run db in docker container :
change server configuration :
TODO
then run :
docker-compose -f src/main/docker/app.yml up
Terminal 1 : npm start
Terminal 2 : ./mvnw
Start postgres server or run the databse container
TODO