Commit Graph

5 Commits

Author SHA1 Message Date
lebaudantoine
fbe79b7b2b 🔧(compose) add a LiveKit server to the stack
Based on @mathisbarthere's PR on openfun/Magnify migration to LiveKit.
These configurations might need to be updated.

Please refer to the documentation: https://docs.livekit.io/home/self-hosting/local/

The 'livekit-server --dev' will start a LiveKit in development mode,
the instance will use the following API key/secret pair:

API Key: devkey
API secret: secret

By default LiveKit's signal server binds to `127.0.0.1:7880`, adding the
option `--bind 0.0.0.0 allow other devices on your network to access the
server.
2024-06-25 16:04:27 +02:00
lebaudantoine
54e4bbcd06 (frontend) add login/logout Authorization Code flow
Quick and dirty code to initiate a login or logout flow based on
user's click.

The code is copied/pasted from several sources of Impress. It's dirty,
and meant to be refactored.

It asserts the login and logout are still functional while introducing
new features in the project.
2024-06-25 13:12:25 +02:00
lebaudantoine
350a3cbd80 (frontend) create Vite app using npm
Run the command 'npm create vite@latest' to bootstrap a new frontend project.
Please note, other elements of the project still use yarn, to avoid confusion
let's use npm instead.

Vite was chosen over Next.Js for its simplicity; Next.Js could be kind of a
black box where a lot of magics happen.
2024-06-25 13:01:02 +02:00
Samuel Paccoud - DINUM
5b1a2b20de (project) Django boilerplate
This commit introduces a boilerplate inspired by https://github.com/numerique-gouv/impress.
The code has been cleaned to remove unnecessary Impress logic and dependencies.

Changes made:
- Removed Minio, WebRTC, and create bucket from the stack.
- Removed the Next.js frontend (it will be replaced by Vite).
- Cleaned up impress-specific backend logics.

The whole stack remains functional:
- All tests pass.
- Linter checks pass.
- Agent Connexion sources are already set-up.

Why clear out the code?

To adhere to the KISS principle, we aim to maintain a minimalist codebase. Cloning Impress
allowed us to quickly inherit its code quality tools and deployment configurations for staging,
pre-production, and production environments.

What’s broken?
- The tsclient is not functional anymore.
- Some make commands need to be fixed.
- Helm sources are outdated.
- Naming across the project sources are inconsistent (impress, visio, etc.)
- CI is not configured properly.

This list might be incomplete. Let's grind it.
2024-06-25 12:48:54 +02:00
Samuel Paccoud - DINUM
2d81979b0a Initialize project 2023-12-10 16:10:06 +01:00