2022-01-27 11:03:50 +00:00
|
|
|
# recipes.coopcloud.tech
|
2021-04-17 21:42:28 +00:00
|
|
|
|
2022-05-03 17:57:37 +00:00
|
|
|
> https://recipes.coopcloud.tech is the current live site
|
2021-04-24 16:06:38 +00:00
|
|
|
|
2023-01-09 03:06:00 +00:00
|
|
|
[![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)
|
2022-01-27 11:03:50 +00:00
|
|
|
|
|
|
|
The Co-op Cloud recipes catalogue. Our digital configuration commons, browsable in a simple and pleasant web UI.
|
2021-04-17 21:42:28 +00:00
|
|
|
|
|
|
|
## 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
|
|
|
|
|
2021-04-18 10:47:15 +00:00
|
|
|
After you run `npm run build`, the contents of the `public` folder can be hosted as a static site.
|
2021-04-17 21:42:28 +00:00
|
|
|
|
|
|
|
__Build command:__ `npm run build`
|
|
|
|
|
|
|
|
__Publish directory:__ `public`
|
2021-04-18 10:47:15 +00:00
|
|
|
|
2022-05-04 09:25:18 +00:00
|
|
|
Then, run `make` to deploy the new version to `mellor.coopcloud.tech`.
|
|
|
|
|
2021-04-18 10:47:15 +00:00
|
|
|
## thanks
|
|
|
|
|
|
|
|
created using [`elm-spa`](https://elm-spa.dev)
|
|
|
|
|
|
|
|
inspiration:
|
|
|
|
- https://yunohost.org/apps
|
|
|
|
- https://www.cloudron.io/store/index.html
|