mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
* logging: client side Create internal/logs and put abstracted way service and machine logging in there This adds the bits to do machine logging of the services. See #273 and discussion in #158 Signed-off-by: Miek Gieben <miek@miek.nl> * go mod tidy Signed-off-by: Miek Gieben <miek@miek.nl> * fix typo Signed-off-by: Miek Gieben <miek@miek.nl> * Hook it up further Signed-off-by: Miek Gieben <miek@miek.nl> * Check unit validity server side Signed-off-by: Miek Gieben <miek@miek.nl> * Make cli-docs Signed-off-by: Miek Gieben <miek@miek.nl> * Add newline to logs Signed-off-by: Miek Gieben <miek@miek.nl> * docs Signed-off-by: Miek Gieben <miek@miek.nl> * Polish a bit Signed-off-by: Miek Gieben <miek@miek.nl> * comment fix Signed-off-by: Miek Gieben <miek@miek.nl> * There is no groupid Signed-off-by: Miek Gieben <miek@miek.nl> --------- Signed-off-by: Miek Gieben <miek@miek.nl>
Website
Landing page
Landing page is a single static HTML file located at ./landing/index.html. It is built
using Tailwind CSS.
Local development
cd landing
open index.html
# Watch the Tailwind CSS class changes and rebuild style.css
npm run dev
Docs and Blog
/docs and /blog are built using Docusaurus, a modern static website generator.
Local Development
npm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Deployment
Both the landing page and Docusaurus site are built into a single Docker image that runs Caddy web server to serve the static files.
Before building a production image, test the build locally:
docker compose -f compose.local.yaml up --build
Verify:
- http://localhost:8000 — should show the landing page
- http://localhost:8000/docs/ — should show the docs generated by Docusaurus
- http://localhost:8000/blog/ — should show the blog generated by Docusaurus
Deploy to production
make website-image-push
uc deploy