From ec618f90fea2472d6e7a03485332a25cd8d9e758 Mon Sep 17 00:00:00 2001 From: MoustaphaCamara Date: Tue, 1 Oct 2024 12:07:47 +0200 Subject: [PATCH 1/2] bug/minor: contributing: fix populate command --- doc/contributing.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/contributing.rst b/doc/contributing.rst index bd6d547..bdaae97 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -257,9 +257,7 @@ Finishing up * Now head to https://localhost:3148 * You now should have a running local eLabFTW, and changes made to the code will be immediately visible -Add `export PATH=$PATH:$(pwd)/node_modules/.bin` to your editor config file (`.zshrc`, `.bashrc`, …). This will allow you to run software installed in the `node_modules` folder. - -It is possible to populate your dev database with fake generated data. See the `dev:populate` command of `bin/console`. +It is possible to populate your dev database with fake generated data. See the `db:populate` command of `bin/init`. Code organization ----------------- From 76dbfc5001376bcc03a84a82c3d854012c039ac3 Mon Sep 17 00:00:00 2001 From: MoustaphaCamara Date: Tue, 1 Oct 2024 17:44:16 +0200 Subject: [PATCH 2/2] bug/minor: contributing: notify docker desktop usage issue --- doc/contributing.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/contributing.rst b/doc/contributing.rst index bdaae97..1b33bf1 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -107,6 +107,10 @@ Docker install Make sure your user is in the `docker` group so you can execute docker commands without sudo (see `documentation `_). +.. note:: + + Some issues may occur when using Docker Desktop to manage your containers. It is highly recommended to use the system's native Docker daemon instead. + Dev directory setup ^^^^^^^^^^^^^^^^^^^