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

Update readme

parent 74f37e14
Branches
No related tags found
No related merge requests found
## 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
![config.png](config.png) ![config.png](config.png)
...@@ -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
10. Fix permissions `./doli perms` 12. Go to Configuration > Societe / Organisation and configure the organisation
## Databases (For developpement) ## Databases (For developpement)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment