Manuel Raynaud 44ef464e22 ♻️(back) migrate from django_treebeard to native postgres ltree
Django has a native extension able to manage records in a hierchical way
combined with an index allowing to have high performance when querying
the database. The django_ltree lib is used, it adds some helper but is
really lightweight
2025-03-04 09:52:24 +01:00
2025-02-11 14:57:09 +01:00
2025-01-29 17:08:23 +01:00
2025-02-24 16:03:09 +01:00
2025-01-29 17:08:23 +01:00
2025-02-24 16:03:09 +01:00
2025-02-24 16:03:09 +01:00
2025-01-29 09:59:13 +01:00
2025-02-11 14:57:09 +01:00
2025-02-25 16:25:57 +01:00

Drive

Drive is an application for managing files in a collaborative way

It is built on top of Django Rest Framework.

Getting started

Prerequisite

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

$ 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 sub admin and password admin.

Run frontend

Run the front with:

$ make run-front-desk

Then access http://localhost:3000 with : user: people password: people

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).

Description
Mirrored from GitHub
Readme MIT 34 MiB
Languages
JavaScript 42.2%
Python 29.1%
TypeScript 19.5%
CSS 4.2%
SCSS 4.2%
Other 0.7%