45 lines
1.2 KiB
Markdown
45 lines
1.2 KiB
Markdown
# recipes.coopcloud.tech
|
|
|
|
> https://recipes.coopcloud.tech is the current live site
|
|
|
|
[![Build Status](https://build.coopcloud.tech/api/badges/coop-cloud/recipes.coopcloud.tech/status.svg?ref=refs/heads/main)](https://build.coopcloud.tech/coop-cloud/recipes.coopcloud.tech)
|
|
|
|
The Co-op Cloud recipes catalogue. Our digital configuration commons, browsable in a simple and pleasant web UI.
|
|
|
|
## local development
|
|
|
|
You can get this site up and running with one command:
|
|
|
|
```
|
|
npm start
|
|
```
|
|
|
|
### other commands to know
|
|
|
|
There are a handful of commands in the [package.json](./package.json).
|
|
|
|
Command | Description
|
|
:-- | :--
|
|
`npm run dev` | Run a dev server and automatically build changes.
|
|
`npm run test:watch` | Run tests as you code.
|
|
`npm run build` | Build the site for production.
|
|
`npm run test` | Run the test suite once, great for CI
|
|
|
|
## deploying
|
|
|
|
After you run `npm run build`, the contents of the `public` folder can be hosted as a static site.
|
|
|
|
__Build command:__ `npm run build`
|
|
|
|
__Publish directory:__ `public`
|
|
|
|
Then, run `make` to deploy the new version to `mellor.coopcloud.tech`.
|
|
|
|
## thanks
|
|
|
|
created using [`elm-spa`](https://elm-spa.dev)
|
|
|
|
inspiration:
|
|
- https://yunohost.org/apps
|
|
- https://www.cloudron.io/store/index.html
|