Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/premium-minds/billy-demo-app
Demonstration application for billy invoice engine
https://github.com/premium-minds/billy-demo-app
billy invoices java maven
Last synced: about 2 months ago
JSON representation
Demonstration application for billy invoice engine
- Host: GitHub
- URL: https://github.com/premium-minds/billy-demo-app
- Owner: premium-minds
- License: mit
- Created: 2013-09-11T16:45:27.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-09-04T09:36:36.000Z (5 months ago)
- Last Synced: 2024-12-03T14:23:15.243Z (about 2 months ago)
- Topics: billy, invoices, java, maven
- Language: Java
- Homepage: https://premium-minds.github.io/billy/index.html
- Size: 266 KB
- Stars: 1
- Watchers: 10
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
billy-demo-app
==============# How to use
## Create database
```
createdb -h localhost -U postgres billy-demo
```## Compile jar file
```
mvn package
```## Execute jar file
```
mvn -B dependency:copy-dependencies# using classpath
java -cp "target/DummyApp-0.0.1-SNAPSHOT.jar:target/dependency/*" dummyApp.app.App# using modulepath and classpath
java -p "target/DummyApp-0.0.1-SNAPSHOT.jar:target/dependency/billy-core-8.0.1.jar:target/dependency/billy-core-jpa-8.0.1.jar:target/dependency/billy-gin-8.0.1.jar:target/dependency/billy-spain-8.0.1.jar:target/dependency/billy-portugal-8.0.1.jar:target/dependency/guice-5.1.0.jar:target/dependency/guice-persist-5.1.0.jar" \
-cp "target/dependency/*" \
-m DummyApp/dummyApp.app.App
```## Alternatively execute directly from maven
```
mvn exec:java -Dexec.mainClass="dummyApp.app.App"
```## Single Invoice Demonstration with SAFT and PDF export
```
java -jar target/DummyApp.jar demo portugal
```
or
```
mvn exec:java -Dexec.mainClass="dummyApp.app.App" -Dexec.args="demo"
```
will create a _saft.xml_, an _invoice*.pdf_ and a _creditNote*.pdf_