Skip to content
Snippets Groups Projects
Select Git revision
  • demo_ci_gitlab_pages default
  • demo_gitlab_ci
  • 5-images-in-annotations
  • 5-final-images
  • 5-chpk-images-in-annot
  • tetras-main protected
  • 5-rebase-images-in-annot
  • 5-wip-images-in-annot
  • tmp
  • 1-edit-annotations-on-videos
  • 5-old-images-in-annotations
  • old_demo_ci_gitlab_pages
  • images_annotations
  • wip
  • devsetup
  • wip-annot-video-ui
  • wip-annotations-on-videos
  • master
  • v0.4.0_react16
  • wip-debugging-annotations
20 results

.github

  • Clone with SSH
  • Clone with HTTPS
  • Forked from IIIF / Mirador / Mirador annotations
    Source project has a limited visibility.

    Setting up your environement

    1. Clone this repository
    2. cp .env.sample .env
    3. Edit .env (change DB password)
    4. If required change DOLI_VERSION in .env file
    5. docker-compose up, the first docker-compose up takes time because we have git clone. You need to wait the end of git clone
    6. This will create 2 directories dolibarr_src : dolibarr code source and logs and dolibarr_db: mysql files
    7. Create a link to the dolibarr custom directory (where you should put your modules): ln -s dolibarr_src/htdocs/custom/ src
    8. sudo chown -R $(whoami):33 src/ to have the right to write your source files
    9. Configuration of dolibarr with web interface (see below for database configuration)

    config.png

    1. Fix permissions :
    docker-compose exec dolibarr bash
    # Inside the container
    ./doli perms

    Databases (For developpement)

    There is a dumps/ directory in this repository holding a very old dump from a dev instance of Dolibarr 9.x

    admin password on this instance is dev

    There is a dump from a database used for internal developpements. You can import it by running:

    docker exec -i $(docker-compose ps -q mariadb) mysql -uroot -p'password-from.env' < dump.sql

    You must set your mysql password to 7rU2//B7XEe[UrnPs6bPOWu[c]#}I>K- after importing this dump

    Troubleshooting

    Cannot write my source files or cannot run git command on src/

    The docker container reset the ownership of src/ to www-data (id 33), so you should run sudo chown -R $(whoami):33 src/ to regain access