-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplified documentation preprocessing
- Loading branch information
Showing
9 changed files
with
26 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,24 @@ | ||
## Building and Packaging | ||
|
||
This is a standard Maven project that creates a uberJar with all the dependencies. If you wish, you can build the binaries from this source. | ||
|
||
This file describes how to build the program without changing it. If you want to change the code, please see the [Contributing](https://owlcms.github.io/owlcms4/#/Gitpod) documentation. | ||
This is a standard Maven project. If you wish, you can build the binaries from this source. | ||
|
||
### Pre-requisites | ||
|
||
- Install git : Installing [GitHub Desktop](https://desktop.github.com/) is the easiest way to install Git on a Windows system. Select the options to add the programs to the execution path. | ||
- Clone this repository | ||
- Install Java 17 or newer | ||
- Install Java 17 | ||
- Install Maven | ||
|
||
|
||
### Building and testing | ||
|
||
- From the owlcms4 directory, running ``mvn -P production -am -pl clean owlcms package `` should give you | ||
- `owlcms/target/owlcms.jar` a working "uberjar" (that is, a .jar file that contains all the dependencies together in a single file). This file can then be run using `java -jar owlcms.jar app.owlcms.Main` | ||
- `owlcms/target/owlcms.zip` which is used for actual packaging by the owlcms/owlcms-controlpanel project | ||
- `owlcms/target/owlcms.zip` contains a copy of the local files required. This is what the owlcms installers use. | ||
- The installers are in their own repositories under https://github.com/owlcms and are are built separately. | ||
|
||
### Building a Docker container | ||
|
||
There is a Dockerfile in owlcms4top to build owlcms for quick testing to the fly.io cloud (see deploy.sh). Building publicresults would be similar. | ||
|
||
### Release Builds | ||
|
||
A full release workflow is in `.github/workflows/release.yaml` | ||
The current process for actual production builds uses the `owlcms-docker` project to build Docker containers using `mvn package`, once the production build has been done. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.