Go to file
Brian Ginsburg 2399219f69
Add class strategy for selecting dark theme (#44)
2022-08-29 16:07:36 -07:00
.github Feat: add PR template (#30) 2022-08-09 14:17:16 -07:00
src 3 private and public photo uploads (#37) 2022-08-27 15:53:10 -07:00
static Add favicon files (#33) 2022-08-23 12:26:18 -04: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 Welcome and backup device flow (#26) 2022-08-04 07:59:50 -07:00
fission.yaml Re-add fission.yaml, see if publish still works 2022-07-22 14:17:56 -04:00
package-lock.json Upgrade webnative to 0.34.0 2022-08-25 14:30:10 -07:00
package.json Upgrade webnative to 0.34.0 2022-08-25 14:30:10 -07: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 Add class strategy for selecting dark theme (#44) 2022-08-29 16:07:36 -07: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.

Customize

  • app.html - the SEO meta tags will need to be changed.
  • lib/app-name.ts - choose a better application name
  • To customize the application's Tailwind theme, change tailwind.config.ts - link to DaisyUI customization page.