{"repo":"ProjectSegfault/website","free":true,"listed":false,"github":"https://github.com/ProjectSegfault/website","clone":"git clone https://github.com/ProjectSegfault/website.git","description":"Project Segfault's homepage, made with SvelteKit and ❤️.","language":"Svelte","stars":28,"topics":["css","nodejs","sveltekit","website","projectsegfault","soydev"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Project Segfault website Live at projectsegfau.lt. Developing You need a lot of infrastructure to run a complete version of the website including a Ghost CMS deployment. Prerequisites - Install node.js. - Install pnpm. - Learn Svelte. - Add the environment variables from the environment variables section. Running a dev server. 1. Clone the repository using git clone https://github.com/ProjectSegfault/website . 2. Change directory into the clone using cd ./website . 3. Install dependencies using pnpm i . 4. Run the dev server using pnpm dev . 5. Open a browser on http://localhost:5173/ and you should see the website running locally! Running in production In production you can run the website through Docker Compose or locally. We strongly recommend using Docker since it makes everything 10 times easier. Docker First install Docker and Docker Compose on your system (use Linux if you are sane). After that add the environment variables from the environment variables section and run docker compose up -d in the directory of the source code (or just the compose.yml file if you aren't building from source). If you are using Portainer (if you aren't, start using it) you should add a new stack in the Stacks section and select the compose file option, then copy the compose.yml file. Locally If you want to run the website locally in production follow the steps in developing but use node build instead of pnpm dev and expect the website to be in http://localhost:3000 . Environment variables","default_branch":null,"files":null,"tree":[],"storefront":"/r/ProjectSegfault","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ProjectSegfault/website/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}