A collaborative note taking, wiki and documentation platform that scales. Built with Django and React.
Find a file
Lebaud Antoine 551468470f 🐛(project) run production image locally with docker-compose
The local deployment of the Production image through docker-compose was
failing due to issues in the Django configurations, influenced by Joanie.

The bug stemmed from a dependency on a development-specific package
(drf-spectacular-sidecar) while attempting to run the application in
production mode.

Changes Made:
- Introduced new Django settings for local demo environments.
2024-03-03 08:29:00 +01:00
.github 🔧(backend) configure Authorization Code authentication 2024-03-03 08:29:00 +01:00
bin (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
crowdin (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
docker (project) configure Keycloak server to support OIDC 2024-03-03 08:29:00 +01:00
docs (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
env.d/development 🔧(backend) configure Authorization Code authentication 2024-03-03 08:29:00 +01:00
gitlint (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
src 🐛(project) run production image locally with docker-compose 2024-03-03 08:29:00 +01:00
.dockerignore (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
.gitignore (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
.gitlint (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
CHANGELOG.md (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
docker-compose.yml 🐛(project) run production image locally with docker-compose 2024-03-03 08:29:00 +01:00
Dockerfile 🔧(backend) configure Authorization Code authentication 2024-03-03 08:29:00 +01:00
LICENSE (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
Makefile ✏️(project) fix minor typos 2024-03-03 08:29:00 +01:00
README.md ♻️(backend) refactor post hackathon to a first working version 2024-02-23 18:41:36 +01:00
renovate.json (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00
UPGRADE.md (project) first proof of concept printing pdf from markdown 2024-01-09 15:30:36 +01:00

Publish

publish is an application to handle users and templates.

publish 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 20.10.2, build 2291f61

$ docker compose -v
  docker compose version 1.27.4, build 40524192

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

Project bootstrap

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

$ make bootstrap

This command builds the app 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-releated or migration-releated issues.

Your Docker services should now be up and running 🎉

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

$ make run

Adding content

You can create a basic demo site by running:

$ make demo

Finally, 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

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