Skip to content

lotta-schule/lotta

 
 

Repository files navigation

Lotta

Lotta is a simple-to use platform aimed at schools. Its comprehensible interface makes it easy for students and teachers to create a sophisticated webpage for their school, providing articles, files and media in access-controlled spaces.

See https://lotta.schule for more information.

The latest git tag is the currently deployed version that also runs unmodified on our infrastructure.

Development

For monorepo managing, we use nx.

Prerequisites

Commands

  1. Run all available tests:
npm test
  1. Run all available linters / typecheckers:
npm run lint
npm run typecheck
  1. Start the Development environment:
npm run dev

This will start:

  • The Hubert Storybook on localhost:6006. This project lists, shows and documents any components we have available in our component library Hubert.
  • The Lotta Webapp. The main web frontend to a lotta project. This is what is usually referred to by lotta.

The easiest is to start by creating a new lotta tenant, or copying over the data from some prod or test system. As lotta recognizes its tenants via the host url, we suggest you use .local.lotta.schule; It's pointed directly to your localhost, but with the extra of having a multitenant-capable hostname