This is the base repository for the website openpv.de. The website is built using
The whole site is static, reducing the hosting costs as much as possible. The shading simulation happens in the browser, using our npm package simshady.
If you want to deploy this website locally, you need to follow these steps:
- Clone the repository and enter it.
- Make sure that you have node and the node package manager npm installed. Check this by running
node --version npm --version - Install all required packages from
package.jsonby runningnpm install
- To build the code and host it in a development environment, run
and visit localhost:5173.
npm run dev
You can run this project inside a VS Code devcontainer. This sets up a reproducible development environment with Node and common tools.
Steps:
- Clone the repository.
- Install the Remote - Containers extension in VS Code.
- Open the repository in VS Code.
- Press F1 and choose
Remote-Containers: Reopen in Container. - After the container builds, the extensions from the devcontainer will be installed and
npm installwill run automatically. - Start the dev server inside the container with:
npm run devand visit localhost:5173.
We have a detailed description in german and english on our About Page. Also check out our blog.
We thank our sponsors.