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
b5a4be62
Commit
b5a4be62
authored
Mar 16, 2024
by
David Beniamine
Browse files
Options
Downloads
Plain Diff
Merge branch '1-simplify-install' into 'master'
Resolve "Déploiement complexe" Closes
#1
See merge request
!1
parents
18200bfc
07f4ae05
No related branches found
No related tags found
1 merge request
!1
Resolve "Déploiement complexe"
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env.sample
+11
-7
11 additions, 7 deletions
.env.sample
Readme.md
+3
-1
3 additions, 1 deletion
Readme.md
config.png
+0
-0
0 additions, 0 deletions
config.png
with
14 additions
and
8 deletions
.env.sample
+
11
−
7
View file @
b5a4be62
COMPOSE_FILE=docker-compose.yml:dev.yml
COMPOSE_FILE=docker-compose.yml:traefik.yml
# Element a modifier
HOST=dolibarr.FQDN
NAME=dolibarrlocalhost
DOLI_VERSION=18.0.5
PASS=insert-randomstringhere
# Variable de dev
ENV=local
ENV=local
CRON_KEY="getItFromDolibarrScheduledJobModulePageThanRestart"
CRON_KEY="getItFromDolibarrScheduledJobModulePageThanRestart"
CRON_USER="admin"
CRON_USER="admin"
PORT=8080
PORT=8080
HOST=localhost:8080
DOLI_URL=http://${HOST}
DOLI_URL=http://${HOST}
NAME=dolibarrlocalhost
RESTART=always
DOLI_VERSION=18.0.5
LOCALE=fr_FR.UTF-8
RESTART=no
LOCALE=en_US.UTF-8
PASS=insert-randomstringhere
TZ="Europe/Paris"
TZ="Europe/Paris"
This diff is collapsed.
Click to expand it.
Readme.md
+
3
−
1
View file @
b5a4be62
...
@@ -6,11 +6,13 @@
...
@@ -6,11 +6,13 @@
2.
If required change dolibarr version in docker-compose file
2.
If required change dolibarr version in docker-compose file
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`
, 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):
`ln -s dolibarr_src/htdocs/custom/ src`
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
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)

## Databases (For developpement)
## Databases (For developpement)
...
...
This diff is collapsed.
Click to expand it.
config.png
0 → 100644
+
0
−
0
View file @
b5a4be62
176 KiB
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