diff --git a/Readme.md b/Readme.md index ff19a0076dd95e35a27b906096f5bb4980347a00..dc3984bd79f5dd84650996cc337f00134cf64a3a 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ ## 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). @@ -8,19 +8,15 @@ - `cp .env.prod.sample .env` 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** 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` -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` -- `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 +10. Go to [http://localhost:8080/](http://localhost:8080/) or your production instance and start configuration  @@ -30,8 +26,8 @@ Setup following fields : - Identifiant `dolibarr` - Mot de passe : Password from `PASS` variable in your .env - -10. Fix permissions `./doli perms` +11. Go to Configuration > Email and configure the mail server +12. Go to Configuration > Societe / Organisation and configure the organisation ## Databases (For developpement)