StudyTutors e.V. is a student-run nonprofit initiative with chapters located in university towns all over Germany. Our mission is to provide free tutoring to refugees and children from underprivileged families.
This site is built with Svelte and Contentful.
Running this site locally requires git
and pnpm
(or npm
). With those installed, do:
Clone the repo and change into its directory.
git clone https://github.com/sbsev/site st-site && cd st-site
(optional) Setup pre-commit
hooks.
pre-commit install
Install dependencies.
pnpm install
Copy .env.example
to .env
.
cp .env.example .env
Then open .env
and insert your Contentful space ID and access token. These are found in the settings menu of a Contentful space under 'API keys'.
Start the dev server.
pnpm dev
To publish this site to netlify:
Create an account with netlify.
Install the netlify-cli
.
Login to your account.
netlify login
Connect your GitHub repo with your netlify account for continuous deployment.
netlify init
Create a production build.
pnpm export
Finally deploy the site with
netlify deploy