Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.66 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.66 KB

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.