Ditto companion is an app for sharing and collecting Ditto plugin presets.
See the Ditto repository for the Ditto plugin.
-
Clone the repository:
git clone https://github.com/oddsdk/ditto-companion
-
Install the dependencies.
npm install
-
Start the local development server.
npm run dev
-
Navigate to
http://localhost:5173
in your web browser.
Export a static build.
npm run build
The build outputs the static site to the build
directory.
An ODD SDK application can be published to IPFS with the Fission CLI or the Fission GitHub publish action.
To publish with the Fission CLI:
- Install the CLI
- Run
fission setup
to make a Fission account - Run
npm run build
to build the app - Delete
fission.yaml
- Run
fission app register
to register a new Fission app (accept the./build
directory suggestion for your build directory) - Run
fission app publish
to publish your app to the web
Your app will be available online at the domain assigned by the register command.
To set up the GitHub publish action:
- Register the app with the CLI
- Export your machine key with
base64 ~/.config/fission/key/machine_id.ed25519
- Add your machine key as a GH Repository secret named
FISSION_MACHINE_KEY
- Update the
publish.yml
with the name of your registered app
See the Fission Guide and the publish action README for more details.