Go to file
Jess Martin 1d7ef2d819 Add green and red checks for status 2022-07-27 12:38:08 -04:00
.github/workflows Remove protocol and trailing slash 2022-07-22 12:08:50 -04:00
src Add green and red checks for status 2022-07-27 12:38:08 -04:00
static Boilerplate svelte app 2022-07-14 11:41:33 -07:00
.DS_Store Boilerplate svelte app 2022-07-14 11:41:33 -07:00
.eslintignore Remove extraneous ignored files 2022-07-20 16:35:24 -04:00
.eslintrc.cjs Disable recommended-requiring-type-checking rule 2022-07-14 12:26:46 -07:00
.gitignore Boilerplate svelte app 2022-07-14 11:41:33 -07:00
.prettierrc.cjs Set prettier htmlWhitespaceSensitivity to ignore 2022-07-22 15:26:43 -07:00
LICENSE Initial commit 2022-01-19 08:31:25 -08:00
NOTICE Boilerplate svelte app 2022-07-14 11:41:33 -07:00
README.md Tiny change to trigger publish workflow 2022-07-22 11:10:51 -04:00
fission.yaml Re-add fission.yaml, see if publish still works 2022-07-22 14:17:56 -04:00
package-lock.json Getting registration working 2022-07-26 16:00:25 -04:00
package.json Getting registration working 2022-07-26 16:00:25 -04:00
postcss.config.cjs Boilerplate svelte app 2022-07-14 11:41:33 -07:00
svelte.config.js Boilerplate svelte app 2022-07-14 11:41:33 -07:00
tailwind.config.cjs Fix some minor padding issues 2022-07-20 16:57:22 -04:00
tsconfig.json Reformatting all the files that prettier missed 2022-07-20 16:47:18 -04:00
tsnode-loader.js Boilerplate svelte app 2022-07-14 11:41:33 -07:00
vite.config.ts Reformatting all the files that prettier missed 2022-07-20 16:47:18 -04:00

README.md

webnative-app-template

A web app template for Webnative.

Setup

Install dependencies.

npm install

Develop

Work on the application in local development.

npm run dev

Navigate to localhost:3000 in your web browser.

Build

Export a static build.

npm run build

The build outputs the static site to the build directory.

Publish

The built site publishes with the Fission CLI and the Fission GH publish action. Publishing from the command line is configured in fission.yaml, and the GitHub publish action is configured in publish.yml.

To configure your own CLI publishing:

  1. Install the Fission CLI
  2. Run fission setup to make a Fission account
  3. Run npm run build to build the app
  4. Delete fission.yaml
  5. Run fission app register to register a new Fission app (accept the ./build directory suggestion for your build directory)
  6. Run fission app publish to publish your app to the web

After publishing, your app will be available online at the domain assigned by the register command.

To set up the GitHub publish action:

  1. Export your machine key with base64 ~/.config/fission/key/machine_id.ed25519
  2. Add your machine key as a GH Repository secret named FISSION_MACHINE_KEY
  3. Update the publish.yml with the name of your registered app

See the Fission Guide and the publish action README for more details.