https://github.com/januschung/support-system-db
Support System database component
https://github.com/januschung/support-system-db
Last synced: 19 days ago
JSON representation
Support System database component
- Host: GitHub
- URL: https://github.com/januschung/support-system-db
- Owner: januschung
- License: gpl-3.0
- Created: 2020-10-11T00:54:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-04T03:10:16.000Z (6 months ago)
- Last Synced: 2025-05-21T23:08:12.730Z (about 2 months ago)
- Size: 43.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Support: support-system-db.iml
Awesome Lists containing this project
README
# Support System db
This is the database of the Support System project.# Prerequisite
Ensure the following tools are installed:1. maven
2. docker
3. docker-compose# How to use
1. Bring up the PostgreSQL database with Docker:
``` bash
docker-compose up -d
```2. Build the project to apply Liquibase changes:
``` bash
mvn clean install
```## To Build a Fresh Database with Docker
1. Remove any existing data and rebuild the containers:
```bash
rm -rf postgres-data
docker-compose up --build --force-recreate -d
```2. Rebuild the project and apply the Liquibase changes:
```bash
mvn clean install
```### Optional Clean-up
To stop the containers and remove volumes:
```bash
docker-compose down -v
```