Project for Frank applications deployed by 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 a PAT is configured for the repository. For public repositories within the WeAreFrank organization, this secret is often provided as organization secret. For private or external repositories the secret needs to be added manually. By default the CI/CD workflows expect the PAT to be available under the secret name 'WEAREFRANK_BOT_PAT'. If the PAT is made available under a different secret name, a find/replace can be done in the '.github/workflows' folder, replacing 
WEAREFRANK_BOT_PATwith<your-secret-name>. - Commit & Profit!
 
- Navigate to 
GitHub -> Repository -> Pages -> Build and deploymentand selectGitHub Actionsfrom the source dropdown. - Navigate to 
GitHub -> Repository -> Environmentsand create a New Environment calledgithub-pagesif it does not exist yet. - Enable the "docusaurus-release" job in 
.github/workflows/release.ymlby setting "if" totrue. 
| 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. | frank2skeleton | 
{{ cookiecutter.configuration_name }} | 
The name of the first configuration (others have to be added manually) | frank2example |