Cette page n'a pas encore d'étiquettes.
Apportez votre aide…

Ceci est une ancienne révision du document !



Tracim : gestion documentaire collaborative

[DESCRIPTION DE L'APPLICATION]

[AUTRES PRÉ-REQUIS NÉCESSAIRES]

Distribution dependencies

You'll need to install the following packages :

  sudo apt install git curl realpath redis-server \
                   python3 python-virtualenv python3-dev python-pip  python-lxml \
                   build-essential libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev \
                   libmagickwand-6.q16-3

## Get the source ##

Get the sources from GitHub:

  git clone https://github.com/tracim/tracim.git
  cd tracim/

Frontend dependencies

( from https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)

Install `nodejs` by typing:

  curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
  sudo apt install -y nodejs

Check that this went well by getting `npm` version:

  npm -v

Then install frontend dependencies listed in the file `package.json`:

  npm install

At last, compile frontend files:

  npm run gulp-dev # for a development environment
  # npm run gulp-prod # for a production environment

## Tracim virtual environment ##

Create a python virtual environment:

  virtualenv -p /usr/bin/python3 tg2env

Activate it in your terminal session (all tracim command execution must be executed under this virtual environment):

  source tg2env/bin/activate

Ensure latest `pip`/`setuptools` versions are installed:

  pip install --upgrade pip setuptools

Install Tracim and its dependencies:

  cd tracim/
  python setup.py develop
  pip install -r ../install/requirements.txt

## Configuration files ##

Create configuration files for a development environment and for `WsgiDAV`:

  cp development.ini.base development.ini
  cp wsgidav.conf.sample wsgidav.conf

## Translation ##

Compile translation binary files from available catalogs:

  python setup.py compile_catalog

## Database schema ##

The last step before running the application is to initialize the database schema. This is done through the following command:

  gearbox setup-app

## Running Tracim ##

The two parameters are optional but useful to reload the server upon code changes and to get debug data:

  gearbox serve --reload --debug

You can now enter the application at [http://127.0.0.1:8080](http://127.0.0.1:8080) and login with admin user:

* user : `admin@admin.admin` * password : `admin@admin.admin`

If admin user not created yet, execute following command:

  gearbox user create -l admin@admin.admin -p admin@admin.admin -g managers -g administrators

Tout d'abord, ouvrez le fichier /truc/machin/bidule en modification puis …

Lancez l'application comme indiqué ici ou via le terminal (toutes versions ou variantes d'Ubuntu) avec la commande suivante :

machin-chose

Pour supprimer cette application, il suffit de supprimer son paquet. Selon la méthode choisie, la configuration globale de l'application est conservée ou supprimée. Les journaux du système, et les fichiers de préférence des utilisateurs dans leurs dossiers personnels sont toujours conservés.

—–

Date de création : 18 janvier 2018.
Contributeurs principaux : René Stoecklin.

Basé sur « Tracim, socle libre du travail en équipe, sort en v1.0 » ; source : Linuxfr.org ; auteur : Bouquetin ; date : 16 janvier 2018.

  • tracim_gestion_documentaire_collaborative.1516290742.txt.gz
  • Dernière modification: Le 18/01/2018, 16:52
  • par eagle08