Sylvain Zimmer e522acdef0 👷(front) update frontend tooling, nginx config and app name
Simplified Docker setup for frontend, use frontend-dev for running
the app itself, and frontend-tools for all npm usage. The local
node_modules directory should be used, without any copy in the container
2025-04-17 00:25:53 +02:00
2025-04-16 22:09:07 +02:00
2025-04-13 18:48:04 +02:00
2025-04-13 18:48:04 +02:00
2025-04-13 18:48:04 +02:00
2025-04-13 18:48:04 +02:00
2025-04-13 18:48:04 +02:00
2025-04-13 18:48:04 +02:00

Messages

Messages is the all-in-one collaborative inbox for La Suite territoriale.

It is built on top of Django Rest Framework and Next.js.

Getting started

Prerequisite

Make sure you have a recent version of Docker and Docker Compose installed on your machine:

$ docker -v
  Docker version 27.5.1, build 9f9e405

$ docker compose version
  Docker Compose version v2.32.4

⚠️ You may need to run the following commands with sudo but this can be avoided by assigning your user to the docker group.

Bootstrap project

The easiest way to start working on the project is to use GNU Make:

$ make bootstrap

This command builds the app-dev container, installs dependencies, performs database migrations and compile translations. It's a good idea to use this command each time you are pulling code from the project repository to avoid dependency-related or migration-related issues.

Your Docker services should now be up and running! 🎉

Note that if you need to run them afterward, you can use the eponym Make rule:

$ make run

You can check all available Make rules using:

$ make help

Django admin

You can access the Django admin site at http://localhost:8071/admin.

You first need to create a superuser account:

$ make superuser

You can then login with email admin@example.com and password admin.

Run frontend

Run the front with:

$ make run-with-frontend

Then access http://localhost:3000 with : user: user{1,2,3} password: user{1,2,3}

Contributing

This project is intended to be community-driven, so please, do not hesitate to get in touch if you have any question related to our implementation or design decisions.

License

This work is released under the MIT License (see LICENSE).

S
Description
No description provided
Readme MIT
86 MiB
Languages
Python 58.4%
TypeScript 25.8%
JavaScript 9.7%
SCSS 2.9%
CSS 1.8%
Other 1.4%