Skip to content

Open Source software for osteopathes


GPL-3.0, GPL-3.0 licenses found

Licenses found

Notifications You must be signed in to change notification settings


Repository files navigation



© Jean-Baptiste Gury 2014-2021

© The LibreOsteo Development Team 2014-2021


LibreOsteo is a business application designed for osteopaths.

It manages patients, folder and runs as a work portal on a folder patient.

Browser supported :
  • Google Chrome or Chromium
  • Firefox

Please use the last version of these browsers.

You can try the online demo at login : demo password : demo


Problems or questions contact me at github

HOW-TO try it ?

Requirements :
  • Python 3.8+
  • pip
  • nodejs
  • yarn
  • virtualenv
  • nodejs
  • if on linux system, you need linux-headers package.

Install system dependencies, for example, on Debian-like sytem, that would be

sudo apt install python3-pip python3-venv nodejs linux-headers-$(uname -r) curl git

For yarnpkg, the last version contains a bug with one of dependency (see yarnpkg/yarn#7890 ). Install yarnpkg by a manual installation of explicit version

curl -o- -L | bash -s -- --version 1.21.1

Retrieve the content of the project from Git repository

git clone

Enter the cloned folder

cd LibreOsteo

Create a virtualenv

python3 -m venv venv

Then retrieve the python requirements

./venv/bin/pip install -r requirements/requirements.txt

Install Javascript dependencies


Initialize the database

./venv/bin/python migrate

Fetch the french postcodes for zipcode completion

./venv/bin/python import_zipcodes

Compile the translations for the web UI

./venv/bin/python compilejsi18n

Now you can start the server with

./venv/bin/python runserver

Point your browser on : http://localhost:8000/ it will guide you towards creating the first admin user.

Have fun !

Installation with Docker

You can follow this Wiki page in French

Docker for testing only or with PostgreSQL

  • Copy this repository in your local environment.

  • Ensure you have docker installed on your machine

    make build
    make run

Point your browser on : http://localhost:8085/ it will guide you towards creating the first admin user.

  • To use PostgreSQL with your Docker container, you have to define into your .env file these values



make run-pg
  • LIBREOSTEO_DB_STORAGE define the postgresql storage
  • DATA define the volume where the data will be stored : index of the database and uploaded documents
  • SETTINGS define the directory which contains settings into file
  • LIBREOSTEO_BAK_STORAGE define the volume where you can backup your database in PostgreSQL dump format.
  • POSTGRES_USER and POSTGRES_PASSWORD defines the credential required for your PostgreSQL database

into your file for settings you can have

  'default': {
      'ENGINE': 'django.db.backends.postgresql_psycopg2',
      'NAME': 'libreosteo',
      'HOST': 'pg_1',
      'PORT': '5432',

Use it in production

You can use the software in production by changing some settings.

Settings are in the folder


There are some settings in this folder, the base settings is the main settings. All settings should use this base settings as reference. You can define your own base settings, but advice is to use standalone setting, and add a file in this folder to define your own customization.

Setting to avoid debug trace

DEBUG = False
TEMPLATES[0]['OPTIONS']['debug'] = False

Setting for Database

For example, to define postgresql as database backend instead of sqlite3 (the default), you can use this definition.

   'default': {
            'ENGINE': 'django.db.backends.postgresql_psycopg2',
            'NAME': 'libreosteo',
            'USER': 'libreosteo',
            'PASSWORD': 'libreosteo',
            'HOST': '',
            'PORT': '5432',

You have to adapt your value with your installation, and configuration of the database used. But you can use other database backend, there is no specificity used in the software linked to the implementation of the database.

Setting for Cryptograhic key for CSRF

In order to have protection against CSRF, you have to override and change the value of SECRET_KEY, with a value computed by this script for example like this :

SECRET_KEY = "T}wf)m[?494-xG?9oO7C#3|K$Ox^!:BEJ^g3S+:&t!@pvv1oR]"

Use Http Service to provide the web application

In order to have a compliant solution to serve libreosteo, you can use Apache HTTP Server or Nginx. Details for setting these http server are not provided at this step, but you can inspire you with this article or this other one

Docker images are provided with uwsgi as provider of the webapp. Libreosteo-sock provides an execution on uwsgi with serving on sock and allow to bind with NGinx for distributing the app.

With the software, a basic solution is provided with CherryPy which provides the ability to have Http server and WSGI implementation. Use the following script to start the server already configured to start as is. You can encapsulate the call to this script into your boot manager. This script listen on all interfaces of the host to provide the web application. The default configured port to provide the application is 8085.


To change the default port of the server, write a file server.cfg like this (to set to 9000 in this example)

server.port = 9000

Contributing code

You are more than welcome ! Please read and happy hacking !


The libreosteo team consist of: