Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dolibarr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
Dolibarr
Commits
fb2d8a31
Verified
Commit
fb2d8a31
authored
Aug 12, 2019
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
rights
parent
d166b718
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Readme.md
+8
-0
8 additions, 0 deletions
Readme.md
with
8 additions
and
0 deletions
Readme.md
+
8
−
0
View file @
fb2d8a31
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment