Lernwerkstatt / site

New website for Die Lernwerkstatt

Home Page:https://die-lernwerkstatt.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Die Lernwerkstatt

Build Status LGTM Node Mongo PRs Welcome

Die Lernwerkstatt Logo

„Die Lernwerkstatt“ (Learning Workshop) is a space where learning is a collaborative, creative and self-determined activity. People of all ages are welcome to join us!

Development Setup

  1. Install node
  2. Install npm
  3. Create an .env file in site/ and ask a teammate for the required keys.
DB_HOST=XXX
FB_TOKEN=XXX
FB_PAGE_ID=XXX
  1. Install dependencies with npm install
  2. Run the development server with npm start

Changing the Bootstrap style

  1. Import /static/css/_variables.scss to Boostrap.build
  2. Change style.
  3. Export everything to /static/css folder.

Caching Events

We cache our Facebook events and blog entries from MongoDB every hour to speed up the site load time.

To invalidate the cache use /invalidate endpoint. It will refetch events and blog posts and redirect to the main page.

About

New website for Die Lernwerkstatt

https://die-lernwerkstatt.org

License:MIT License


Languages

Language:Handlebars 56.3%Language:JavaScript 36.7%Language:CSS 4.9%Language:SCSS 1.8%Language:Shell 0.2%