Skip to content
Snippets Groups Projects
Commit 69426c2f authored by Anthony's avatar Anthony
Browse files

Update README

parent ce95cda2
Branches
No related tags found
No related merge requests found
## Setting up your environement
1. Clone this repository
2. `cp .env.sample .env`
3. Edit .env (change DB password)
1. `git clone gitlab@gitlab.tetras-libre.fr:nocloud/docker/dolibarr.git`
2. Copy appropriate .env (Dev or prod).
- `cp .env.dev.sample .env`
- `cp .env.prod.sample .env`
3. In production edit .env (DB password at least)
4. If required change `DOLI_VERSION` in `.env` file
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
```
sudo chown -R $(whoami):33 dolibarr_src
sudo chmod -R g+w dolibarr_src
```
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 :
- `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
![config.png](config.png)
Setup following fields :
- Serveur de base de données : in dev mariadb
- Identifiant `dolibarr`
- Mot de passe : Password from `PASS` variable in your .env
10. Fix permissions `./doli perms`
## Databases (For developpement)
......
config.png

176 KiB | W: | H:

config.png

157 KiB | W: | H:

config.png
config.png
config.png
config.png
  • 2-up
  • Swipe
  • Onion skin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment