readme: added formatter-write in instructions, fixed validRegex format in example (#813)

This commit is contained in:
Philippe Loctaux 2022-12-17 21:32:52 +01:00 committed by GitHub
parent d5f863c003
commit 67dc50dad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@ caproverOneClickApp:
label: Awesome App Version
defaultValue: '1.2.3'
description: Check out their Docker page for the valid tags https://hub.docker.com/r/....../tags
validRegex: "/.{1,}/"
validRegex: '/.{1,}/'
instructions:
start: |-
A description that will be displayed to the user when they
@ -72,7 +72,8 @@ To create your own repository:
- Fork this repository
- Delete all existing apps (to avoid duplicate apps), and add your own apps.
- Run `npm i`
- Run `npm run validate_apps`
- Run `npm run validate_apps`
- Run `npm run formatter-write`
- Run `npm run build`
- Now you can host the static content placed in `./dist` directory anywhere you want, the official repo uses github pages to publish the content. Make sure to update [CNAME](https://github.com/caprover/one-click-apps/blob/master/public/CNAME) to your own URL if you decide to do so.