summaryrefslogtreecommitdiff
path: root/linux/deb/02-fs-spring-boot-kamal/README
diff options
context:
space:
mode:
authorKamal Wickramanayake <kamal@inbox.lk>2026-06-06 16:40:15 +0530
committerKamal Wickramanayake <kamal@inbox.lk>2026-06-06 16:40:15 +0530
commit6657eb579ce0413689f2bfb0c2f912a930b3f179 (patch)
tree7d830b9d3c8b7348dacbd82ff8d8e7aa552cdd56 /linux/deb/02-fs-spring-boot-kamal/README
parent21608db65bb38341c86eb4414b1aa8357c5fcade (diff)
Updated create-new-project.sh to create a new Debian packaging project with company name
Diffstat (limited to 'linux/deb/02-fs-spring-boot-kamal/README')
-rw-r--r--linux/deb/02-fs-spring-boot-kamal/README15
1 files changed, 13 insertions, 2 deletions
diff --git a/linux/deb/02-fs-spring-boot-kamal/README b/linux/deb/02-fs-spring-boot-kamal/README
index 0dd79a9..b23bf99 100644
--- a/linux/deb/02-fs-spring-boot-kamal/README
+++ b/linux/deb/02-fs-spring-boot-kamal/README
@@ -1,20 +1,31 @@
This directory contains everything to build a deb package that bundles a Spring Boot app that starts a web server.
- build.sh - This script builds the deb package.
+####
+
+Executable scripts:
+
create-new-project.sh - This script can be used to create a new deb package project similar to this project that uses a different name (than fs-spring-boot-kamal). Output will be placed inside 'out' directory.
+ build.sh - This script builds the deb package. If the above script is used, go to the corresponding directory inside out directory to find a copy of this build.sh script.
+
+####
+
To create a new deb package project that uses 'mycompany-myapp' as the name, run the following command:
- ./create-new-project.sh mycompany-myapp
+ ./create-new-project.sh mycompany mycompany-myapp
The newly generated project files will be found inside the out directory.
+####
+
To build, run the following command:
./build.sh
Note that the Spring Boot application has not been bundled with this. You need to build it seperately and put it in the correct directory (run build.sh for further details).
+####
+
To install the build deb package run the following commands replacing the package.deb with the correct name of the deb file.
cp package.deb /tmp