Project for Frank applications deployed by JAR or Docker
This project serves as a starting point for new projects or as example for existing ones. This "empty" Frank! will have configuration files to build and deploy.
- Dockerfile
- Docker compose
- Publicode (WIP)
- GitHub Actions
- Continuous Integration workflow
- Release workflow
Please check if you deem all these functionalities necessary, if not remove them.
- Create a new repository and choose this as template repository
- Clone the newly created project
- Fill in the skeletonrc.json to replace the template strings
- Run the skeleton.js script with node e.g.
node ./skeleton.js
- Add your own configuration files
- Make sure that the GitHub action credentials are added
- Commit & Profit!
- Navigate to
GitHub -> Repository -> Pages -> Build and deployment
and selectGitHub Actions
from the source dropdown. - Navigate to
GitHub -> Repository -> Environments
and create a New Environment calledgithub-pages
if it does not exist yet. - Enable the "docusaurus-release" job in
.github/workflows/release.yml
by setting "if" totrue
.
- Navigate to "docusaurus" subfolder with
cd ./docusaurus
. - Install dependencies with
npm install
. - Serve Docusaurus webserver locally with
docusaurus start
. By default it is served athttp://localhost:3000/
. - Basic guide on how to use Docusaurus and a styleguide can be found at
./docusaurus/docs/_README.md
.
Template variable | Description | Example |
---|---|---|
{{ cookiecutter.instance_name }} |
The name of the Frank! to be deployed. It's best to keep this inline with the name of the repo | Frank2Skeleton |
{{ cookiecutter.instance_name_lc }} |
Lowercase version of the instance name. | frank2example |
{{ cookiecutter.configuration_name }} |
The name of the first configuration (others have to be added manually) | Sans |