Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.08 KB

README.md

File metadata and controls

57 lines (34 loc) · 1.08 KB

Personal website template

This website template is a partial remake of dorota1997's template using Svelte.

Get started

Install the dependencies...

npm install

...then start Rollup:

npm run dev

Navigate to localhost:8080. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

Runnning tests

By default cypress is used to write and run tests. Make sure you run the command:

npx cypress open

to open the web interface for cypress and create and run tests

To run tests from cmd line, simply run:

npm run test

Formatting the code

To format the code just run

npm run format

This ill use pretty to make the code better indented and also lint the code using eslint

Deploying to the github pages

To deploy to github pages, simply run

npm run deploy

This should deploy to gh-pages branch, which you should use when serving the website