https://github.com/zeropsio/recipe-solidjs-static
https://github.com/zeropsio/recipe-solidjs-static
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeropsio/recipe-solidjs-static
- Owner: zeropsio
- Created: 2024-06-24T19:08:35.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T14:05:13.000Z (almost 2 years ago)
- Last Synced: 2025-03-25T09:53:10.346Z (about 1 year ago)
- Language: TypeScript
- Size: 45.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zerops x Solid - Static
Solid is a declarative Javascript library for creating fast, dynamic web apps with server-side rendering. [Zerops](https://zerops.io) makes deploying and running Solid.js apps, both server side rendered and static, a breeze. This recipe showcases the static version, see [zeropsio/recipe-solidjs-nodejs](https://github.com/zeropsio/recipe-solidjs-nodejs) for the Node.js (SSR) version.

## Deploy on Zerops
You can either click the deploy button to deploy directly on Zerops, or manually copy the [import yaml](https://github.com/zeropsio/recipe-solidjs-static/blob/main/zerops-project-import.yml) to the import dialog in the Zerops app.
[](https://app.zerops.io/recipe/solidjs-static)
## Recipe features
- Latest Solid version generated with [SolidStart](https://start.solidjs.com/) running on **Zerops Static** service.
- Static Site Generation (SSG) with Vite.
## Production vs. development
This recipe is ready for production as is, and will scale horizontally by adding more containers in case of high traffic surges. If you want to achieve the highest baseline reliability and resiliace, start with at least two containers (add `minContainers: 2` in recipe YAML in the `app` service section, or change the minimum containers in "Automatic Scaling configuration" section of service detail).
## Changes made over the default installation
If you want to modify your existing Solid app to efficiently run on Zerops, there are no changes needed in the codebase on top of the standard installation, just add [zerops.yml](https://github.com/zeropsio/recipe-solid-static/blob/main/zerops.yml) to your repository.
Need help setting your project up? Join [Zerops Discord community](https://discord.com/invite/WDvCZ54).