-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to the Platform CLI[1] for install/update. - Add `copier.yml` config file - Move template files into `template/` - Move Docker Compose files from project root to `{{app_name}}/`. And tag the app services with `{{app_name}}`. In a multi-app environment, it is unreasonable (and high source of conflicts on update) for a single application template to provide a root Compose file. So apps should provide their own Compose files, the the project can import them into one project-wide Compose file if desired. - Drop unnecessary `.grype.yml`. Can use template-infra's project-wide version since we don't need any app overrides. - Pull back a few things from `pfml-starter-kit` - Remove old install/update scripts [1] https://github.com/navapbc/platform-cli
- Loading branch information
Showing
195 changed files
with
169 additions
and
425 deletions.
There are no files selected for viewing
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 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# | ||
# App vars | ||
# | ||
app_name: | ||
type: str | ||
help: The name of the app | ||
validator: >- | ||
{% if not (app_name | regex_search('^[a-z0-9\-_]+$')) %} | ||
The app name can not be empty and should only contain lower case letters, digits, dashes, and underscores. | ||
{% endif %} | ||
app_local_port: | ||
type: int | ||
help: "The port to be used in local development of '{{ app_name }}'" | ||
default: 3000 | ||
|
||
_envops: | ||
trim_blocks: true | ||
lstrip_blocks: true | ||
|
||
# ideally we could just: | ||
# | ||
# _answers_file: .template-application-rails/{{app_name}}.yml | ||
# | ||
# but alas, no: | ||
# | ||
# https://github.com/copier-org/copier/issues/1868 | ||
|
||
_subdirectory: template |
Empty file.
Empty file.
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.
Oops, something went wrong.