2020-07-05 22:38:14 -04:00
|
|
|
# ERPLibre documentation
|
2021-07-20 16:19:01 -04:00
|
|
|
Select a guide to install your environment.
|
2020-06-03 17:08:00 -04:00
|
|
|
|
2020-07-14 02:42:27 -04:00
|
|
|
## Easy way to run locally
|
2022-01-24 14:03:38 -05:00
|
|
|
Into Ubuntu, minimal dependency:
|
|
|
|
|
```bash
|
|
|
|
|
sudo apt install make git
|
|
|
|
|
```
|
2021-07-20 16:19:01 -04:00
|
|
|
Clone the project:
|
2020-07-14 02:42:27 -04:00
|
|
|
```bash
|
2020-11-20 23:22:28 -05:00
|
|
|
git clone https://github.com/ERPLibre/ERPLibre.git
|
2020-07-14 02:42:27 -04:00
|
|
|
cd ERPLibre
|
|
|
|
|
```
|
2021-03-09 04:28:14 -05:00
|
|
|
Support Ubuntu 18.04, 20.04 and OSX. The installation duration is more than 30 minutes.
|
2020-07-14 02:42:27 -04:00
|
|
|
```bash
|
2021-03-09 04:28:14 -05:00
|
|
|
make install
|
2020-07-14 02:42:27 -04:00
|
|
|
```
|
2021-03-09 04:28:14 -05:00
|
|
|
Update your configuration if you need to run from another interface than 127.0.0.1, file `config.conf`
|
2020-07-14 02:42:27 -04:00
|
|
|
```
|
|
|
|
|
#xmlrpc_interface = 127.0.0.1
|
|
|
|
|
#netrpc_interface = 127.0.0.1
|
|
|
|
|
```
|
2021-07-20 16:19:01 -04:00
|
|
|
Ready to execute:
|
2020-07-14 02:42:27 -04:00
|
|
|
```bash
|
2021-03-09 04:28:14 -05:00
|
|
|
make run
|
2020-07-14 02:42:27 -04:00
|
|
|
```
|
|
|
|
|
|
2021-07-20 20:37:40 -04:00
|
|
|
## Easy way to run docker
|
2023-01-02 20:33:57 -05:00
|
|
|
First, install dependencies to run docker, check script `./script/install/install_ubuntu_docker.sh`. You need docker and docker-compose.
|
2021-07-20 20:37:40 -04:00
|
|
|
|
2023-01-02 20:33:57 -05:00
|
|
|
The docker volume is bound to the directory name, therefore create a unique directory name and run:
|
2021-07-20 20:37:40 -04:00
|
|
|
```bash
|
2022-10-05 03:00:57 -04:00
|
|
|
wget https://raw.githubusercontent.com/ERPLibre/ERPLibre/v1.4.0/docker-compose.yml
|
2021-07-20 20:37:40 -04:00
|
|
|
docker-compose up -d
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
For more information, read [Docker guide](./docker/README.md).
|
|
|
|
|
|
2020-07-05 22:38:14 -04:00
|
|
|
## Discover guide
|
|
|
|
|
[Guide to run ERPLibre in discover to learn it](./doc/DISCOVER.md).
|
2020-06-03 17:08:00 -04:00
|
|
|
|
2020-07-05 22:38:14 -04:00
|
|
|
## Production guide
|
|
|
|
|
[Guide to run ERPLibre in production server](./doc/PRODUCTION.md).
|
2020-06-03 17:08:00 -04:00
|
|
|
|
2020-07-05 22:38:14 -04:00
|
|
|
## Development guide
|
|
|
|
|
[Guide to run ERPLibre in development environment](./doc/DEVELOPMENT.md).
|
2020-04-13 00:06:13 -04:00
|
|
|
|
|
|
|
|
# Execution
|
2020-07-05 22:38:14 -04:00
|
|
|
[Guide to run ERPLibre with different case](./doc/RUN.md).
|
2020-04-13 00:06:13 -04:00
|
|
|
|
2020-07-05 22:38:14 -04:00
|
|
|
# git-repo
|
|
|
|
|
To change repository like addons, see [GIT_REPO.md](doc/GIT_REPO.md)
|
2021-06-27 00:22:22 -04:00
|
|
|
|
|
|
|
|
# Test
|
|
|
|
|
Execute ERPLibre test with his code generator.
|
|
|
|
|
```bash
|
2023-02-14 16:49:15 -05:00
|
|
|
time make test_full_fast
|
2021-06-27 00:22:22 -04:00
|
|
|
```
|