Berlin University of the Arts’ free and open-source environment for digital learning, teaching, and collaboration.
medienhaus-cms
is a federatable, room-based content management system (CMS) using the Matrix protocol. At the moment the project is still adapted to fit the needs of the Berlin University of the Arts’ digitally enhanced Rundgang 2021. In the future, medienhaus-cms
will feature customisation options to fit specific needs.
The CMS uses a custom stateEvent dev.medienhaus.meta
to store information about rooms.
You can fetch the event via API or matrix-js-sdk
by calling matrixClient.getStateEvent(roomId, 'dev.medienhaus.meta'
which will return:
content: {
rundgang: 21,
type: 'studentproject',
version: '0.1'
}
The custom fetchJoinedSpaces
Hook also returns an object with our stateEvent in the meta
key:
avatar_url: mxc://image,
collab: false,
description: room_topic,
meta: dev.medienhaus.meta,
name: room_name,
published: public,
room_id: room_id
Installs all of the application’s dependencies.
Configuration happens via environment variables. To start developing locally, just copy the supplied .env.local.example
file to .env.local
and adjust the values of the variables to your liking. Check the .env
file for more available variables, which you also can modify in your .env.local
file.
In the project directory, you can run:
Runs the application in development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Builds the application for production to the build
folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.
See the section about Create React App deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.