Skip to content
Snippets Groups Projects
Verified Commit fb2d8a31 authored by David Beniamine's avatar David Beniamine
Browse files

rights

parent d166b718
Branches
No related tags found
No related merge requests found
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
3. `cp .env.sample .env` 3. `cp .env.sample .env`
4. Edit .env (change DB password) 4. Edit .env (change DB password)
5. `docker-compose up` 5. `docker-compose up`
6. This will create 3 directories `src/` put your modules in there `dolibarr_html` : dolibarr code source and logs and `dolibarr_db`: mysql files
7. `sudo chown -R $(whoami):33 src/` to have the right to write your source files
## Databases ## Databases
...@@ -20,3 +22,9 @@ docker exec -i $(docker-compose ps -q mariadb) mysql -uroot -p'password-from.env ...@@ -20,3 +22,9 @@ docker exec -i $(docker-compose ps -q mariadb) mysql -uroot -p'password-from.env
``` ```
You must set your mysql password to `7rU2//B7XEe[UrnPs6bPOWu[c]#}I>K-` after importing this dump 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment