- Slot : this is a conference with title, kind, start time, end time, day, room
- TrackInfo : Is more than slot. In track slot information plus hit information
- Hit : unique id of the slot, percentage and date time of when hit has been down
On clever-cloud,
CC_JAVA_VERSION="11"
CC_SBT_TARGET_DIR="httpEngine"
FLOXX_PORT="8080"
PORT="8080"
POSTGRESQL_ADDON_PASSWORD=**to be completed**
POSTGRESQL_ADDON_USER=**to be completed**
POSTGRESQL_MAX_POOL_SIZE=**to be completed**
POSTGRESQL_URI="jdbc:postgresql://**to be completed: Host**/**to be completed USER**"
Locally :
- from the root directory run docker-compose up (should start postgres DB)
- sbt runDev
- from browser : http://localhost:8081
- go to front directory
- Run 'yarn start-dev'
- from browser : http://localhost:8082
Some route are mmocked in webpack.config.js file
- ensure that your master index is clean and fully pushed.
- Run
sbt goToProd- Process il plugged on remote origin, So take care that remote corresponding to prod target environment
- and then just follow the process
/!\ update env information with targeted env (Prod)
- /!\ Run locally sbt with this command line : sbt -Dflyway.url=jdbc:postgresql://{{HOST}}/{{DB}} -Dflyway.user={{User}} -Dflyway.password=
- and db/flywayMigrate
- Refactoring
- Finalize migration model -> Domain
- Move from doobie to quill
- Upgrade version on front-end side
If you are using ASDF (http://asdf-vm.com/) you can just call make setup to install all the required software (java, sbt, node, yarn ...). The only pre-requisite not managed by ASDF is docker (compose).
You can start the backend with make launch-backend and you access to the application from http://localhost:8081 (postgresql is automatically started with docker compose if needed)
You can start the frontend with a mock of the backend with make launch-frontend and access to the application from http://localhost:8082
Makefile targets are:
clean Clean build output
clean-docker Clean docker data
docker-backend-restart Restart Postgres DB
docker-backend-start Start Postgres DB
docker-backend-stop Stop Postgres DB
help Describe all available targets.
launch-backend Start the application backend
launch-frontend Start the application frontend
setup install (and configure) all the tools using ASDF ( http://asdf-vm.com/ )