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

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!1Resolve "Déploiement complexe"
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"
...@@ -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)
![config.png](config.png)
## Databases (For developpement) ## Databases (For developpement)
......
config.png

176 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment