diff --git a/Readme.md b/Readme.md index dc3984bd79f5dd84650996cc337f00134cf64a3a..04207322cc170b18002e17d2ecaee86c2829b99b 100644 --- a/Readme.md +++ b/Readme.md @@ -13,10 +13,16 @@ 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. Configuration of dolibarr with web interface (see below for database configuration) -9. Fix permissions `./doli perms` +8. Give the permissions for dolibarr to write the dolibarr_src directory, these rights will be fixed later by `./doli perms` +``` +./doli bash +chmod -R g+w dolibarr +chown -R :www-data dolibarr +``` +9. Configuration of dolibarr with web interface (see below for database configuration) +10. Fix permissions `./doli perms` -10. Go to [http://localhost:8080/](http://localhost:8080/) or your production instance and start configuration +11. Go to [http://localhost:8080/](http://localhost:8080/) or your production instance and start configuration  @@ -26,8 +32,8 @@ Setup following fields : - Identifiant `dolibarr` - Mot de passe : Password from `PASS` variable in your .env -11. Go to Configuration > Email and configure the mail server -12. Go to Configuration > Societe / Organisation and configure the organisation +12. Go to Configuration > Email and configure the mail server +13. Go to Configuration > Societe / Organisation and configure the organisation ## Databases (For developpement)