erplibre/doc/PRODUCTION.md
Mathieu Benoit 5a6656665d Doc: Move documentation to doc/
- Explain how to use script and fork
- Add discover guide
- Improve all documentation
2020-07-05 22:55:13 -04:00

32 lines
706 B
Markdown

# ERPLibre production guide
## Installation procedure production
### 1. Clone the project:
```bash
git clone https://git.erplibre.ca/ERPLibre.git
```
### 2. Modify the parameters
Modify the file env_var.sh for production installation.
### 3. Execute the script:
```bash
cd ERPLibre
./script/install_dev.sh
./script/install_production.sh
```
## Production execution
```bash
cd /[EL_USER]/erplibre
./run.sh -d [DATABASE] --no-database-list
```
## Move database prod to dev
When moving database prod to your dev environment, you want to remove email servers, and install user test to test the database.
Run:
```bash
./run.sh --stop-after-init -i user_test,disable_mail_server --dev all -d DATABASE
```