Skip to content

nexys-system/boilerplate_vite

Repository files navigation

Boilerplate for Vite Project

Test Deploy Docker

This template repo allows you to create a JS app with Vite in less than a minute with CI and CD - leveraging Github actions.

Get started

get started

Just click on "use this template" to create a github repo of your own. Locally:

  • clone
  • yarn (to install dependencies)
  • yarn start to start a dev server

Deployment

Deployment is triggered for every new tag/release. See instructions on how to create a new release.

Github Pages

The project is configured to be deployed to github pages automatically. Make sure you have your keypair uploaded, see instructions

Docker Container

A Docker container is generated for every release. Runs on port 3000. See the list of generated Docker containers

Best Practices

When deployed via the docker container, the website gets a perfect score with Lighthouse

Lightouse screenshot made on Aug 11 with a docker deployment, v0.0.21

Included resources

Bootstrap

https://getbootstrap.com/docs/5.0/content

Font-awesome

version 6.1.1

Browse available icons: https://fontawesome.com/search

More

see headless to be able to create Admin UI easily