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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
Dolibarr
Commits
dfc58630
Verified
Commit
dfc58630
authored
4 months ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Update readme
parent
74f37e14
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
+7
-11
7 additions, 11 deletions
Readme.md
with
7 additions
and
11 deletions
Readme.md
+
7
−
11
View file @
dfc58630
## Setting up your environement
## Setting up your environement
1.
`git clone
gitlab@
gitlab.tetras-libre.fr
:
nocloud/docker/dolibarr
.git
`
1.
`git clone
https://
gitlab.tetras-libre.fr
/
nocloud/docker/dolibarr`
2.
Copy appropriate .env (Dev or prod).
2.
Copy appropriate .env (Dev or prod).
...
@@ -8,19 +8,15 @@
...
@@ -8,19 +8,15 @@
-
`cp .env.prod.sample .env`
-
`cp .env.prod.sample .env`
3.
In edit .env (DB password and HOST at least for production)
3.
In edit .env (DB password and HOST at least for production)
4.
If required change
`DOLI_VERSION`
in
`.env`
file
4.
If required change
`DOLI_VERSION`
in
`.env`
file
, see https://github.com/Dolibarr/dolibarr/tags
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**
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
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):
7.
Create a link to the dolibarr custom directory (where you should put your modules):
-
`ln -s dolibarr_src/htdocs/custom/ src`
-
`ln -s dolibarr_src/htdocs/custom/ src`
8.
Set some basic rights for the installer to run :
8.
Configuration of dolibarr with web interface (see below for database configuration)
9.
Fix permissions
`./doli perms`
-
`sudo chown -R $(whoami):33 dolibarr_src`
10.
Go to
[
http://localhost:8080/
](
http://localhost:8080/
)
or your production instance and start configuration
-
`sudo chmod -R g+w dolibarr_src`
9.
Configuration of dolibarr with web interface (see below for database configuration)
Go to
[
http://localhost:8080/
](
http://localhost:8080/
)
or your production instance and start configuration


...
@@ -30,8 +26,8 @@ Setup following fields :
...
@@ -30,8 +26,8 @@ Setup following fields :
-
Identifiant
`dolibarr`
-
Identifiant
`dolibarr`
-
Mot de passe : Password from
`PASS`
variable in your .env
-
Mot de passe : Password from
`PASS`
variable in your .env
11.
Go to Configuration > Email and configure the mail server
1
0
.
Fix permissions
`./doli perms`
1
2
.
Go to Configuration > Societe / Organisation and configure the organisation
## Databases (For developpement)
## Databases (For developpement)
...
...
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