https://github.com/codbex/codbex-athena
Accounting Management Application
https://github.com/codbex/codbex-athena
application
Last synced: 5 days ago
JSON representation
Accounting Management Application
- Host: GitHub
- URL: https://github.com/codbex/codbex-athena
- Owner: codbex
- License: epl-2.0
- Created: 2024-07-08T11:37:33.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2026-04-02T12:01:42.000Z (8 days ago)
- Last Synced: 2026-04-03T01:42:11.274Z (8 days ago)
- Topics: application
- Language: Java
- Homepage: https://codbex.com
- Size: 87.9 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# codbex-athena
Accounting Management Application
## Run Athena Docker image locally
### Prerequisites
```shell
export GIT_REPO_FOLDER=''
export GH_TOKEN=''
export IMAGE='ghcr.io/codbex/codbex-athena:dev'
export CONTAINER_NAME='athena'
```
### Build Docker image
```shell
# download packages
cd "$GIT_REPO_FOLDER/application"
echo "@codbex:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=$GH_TOKEN" > .npmrc
npm install
rm -rf .npmrc
# build image
cd "$GIT_REPO_FOLDER/application"
docker build . --tag "$IMAGE"
```
### Run Docker image
```shell
# optionally remove the existing container with that name
docker rm -f "$CONTAINER_NAME"
docker run --name "$CONTAINER_NAME" -p 80:80 "$IMAGE"
```
### Manual Steps for Local Testing
```shell
cd "$GIT_REPO_FOLDER"
# build images
docker build -t codbex-athena:test application/
docker build -t codbex-athena-data-sample:test application-data-sample/
# run tests with image tags as Maven system properties
mvn clean install -P integration-tests \
-DAPP_IMAGE=codbex-athena:test \
-DSAMPLE_DATA_IMAGE=codbex-athena-data-sample:test
```