Skip to content

About

Documentation for Protos, a UI component library built with Phlex, daisyUI and tailwindcss

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

54 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protos Documentation

This repo contains examples of protos components and is live at:

https://protos.inhouse.work

This site was created with staticky, a static site builder with first class support for Phlex components.

Development

bin/setup
bin/dev

This runs the site builder, the Vite dev server and Puma with the Vite proxy.

Building

bin/rake site:build generates the sitemap, compiles the Vite assets in production and writes the whole site into build/.

Deployment

The site is deployed to Dokku. The multi-stage Dockerfile installs the Ruby and Node dependencies, builds the static site and serves it with nginx. The nginx.conf handles canonical redirects, gzip/brotli-friendly caching, error pages and security headers (see security-headers.conf). app.json configures Dokku's zero-downtime health check.

Deploy by pushing master to the Dokku remote:

git push dokku master

About

Documentation for Protos, a UI component library built with Phlex, daisyUI and tailwindcss

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages