Web site for TMA TLIP project www.tlip.io.
The site is built using Svelte.
First install and build the project.
npm run install
npm run buildTo run the development build locally:
npm run devTo run the build and run the production version locally:
npm run build
npm run previewMake sure the code is formatted correctly by running the following command:
npm run formatTo validate the quality of your code and check it for errors you can run the following commands.
npm run lint
npm run checkWhen creating a new PR make sure you run npm run dist before committing, this will run all the checks necessary to ensure code quality. If any of these checks fail locally, they will also fail creating the PR.
The project contains GitHub actions to automatically deploy the project.
When you create a PR for a new feature it will automatically trigger the preview GitHub action, which will first build and check the code, before deploying it to a preview location.
Features branches that are merged into main will trigger the production action to make the site live.