Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/januschung/support-system-db
Support System database component
https://github.com/januschung/support-system-db
Last synced: 6 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-29T05:51:07.000Z (6 days ago)
- Last Synced: 2024-12-29T06:29:27.369Z (6 days ago)
- Size: 38.1 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
```