2024-10-20 02:52:20 -04:00
# ERPLibre
ERPLibre is a CRM/ERP platform including automated installation, maintenance, and development of open source modules of
2024-11-05 14:33:32 -05:00
the Odoo community version. It is a "soft-fork" of the Odoo Community Edition (OCE), meaning it aims at contributing back
2024-11-24 22:15:19 -05:00
upstream.
2024-11-05 14:33:32 -05:00
It is based on a set of production-ready modules, supported by the Odoo Community Association (OCA) and an
2024-10-20 02:52:20 -04:00
ecosystem of specialized companies. This solution ensures digital sovereignty in a local environment while integrating
pre-trained Generative Transformers (GPT), bringing an additional dimension to data management and automation.
2024-11-05 16:37:10 -05:00
Follow us on Mastodon : https://fosstodon.org/@erplibre
2024-11-05 14:33:32 -05:00
# Installation
2024-08-16 11:30:34 -04:00
2021-07-20 16:19:01 -04:00
Select a guide to install your environment.
2020-06-03 17:08:00 -04:00
2024-11-05 14:33:32 -05:00
## Easy install on Ubuntu or Debian using Docker
This has been tested in Debian 12 and Ubuntu 24.04 LTS.
2024-11-24 22:15:19 -05:00
**Note** : This is meant for a test environment, on a local network or similar environment not directly exposed to the Internet.
2024-11-05 14:33:32 -05:00
1. Make sure Docker and nginx web server are installed:< BR >
```sudo apt install docker docker-compose nginx```
1. Get the latest ERPLibre Docker compose file:< BR >
2025-04-13 12:50:14 -04:00
```wget https://raw.githubusercontent.com/ERPLibre/ERPLibre/v1.6.0/docker-compose.yml```
2024-11-05 14:33:32 -05:00
1. Install and run ERPLibre with Docker running as a daemon (web server):< BR >
```sudo docker-compose up -d```
1. Open the final installation step at this web page :< BR >
```http://[server IP]:8069```< BR >

1. Finish the installation by providing a database name, email and password. then click on **Create Database** . Depending on your system resources **this may take more than 2 minutes without feedback !** Check your browser loading indicator.
2025-04-13 12:50:14 -04:00
1. Next, the web page will reload itself, and you should see the Applications list in ERPLibre:< BR >
2024-11-05 14:33:32 -05:00

You can now personalize your ERPLibre installation.
For more information, read [Docker guide ](./docker/README.md ).
## Install from source code
2024-08-16 11:30:34 -04:00
2022-01-24 14:03:38 -05:00
Into Ubuntu, minimal dependency:
2024-08-16 11:30:34 -04:00
```bash
sudo apt install make git curl
```
2024-08-25 15:54:24 -04:00
Into Ubuntu, developer dependency:
2024-08-16 11:30:34 -04:00
2022-01-24 14:03:38 -05:00
```bash
2024-08-16 11:30:34 -04:00
sudo apt install make build-essential libssl-dev zlib1g-dev libreadline-dev libsqlite3-dev curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev liblzma-dev libbz2-dev libldap2-dev libsasl2-dev
2022-01-24 14:03:38 -05:00
```
2024-08-16 11:30:34 -04:00
2021-07-20 16:19:01 -04:00
Clone the project:
2024-08-16 11:30:34 -04:00
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
```
2024-08-16 11:30:34 -04:00
2024-08-25 15:54:24 -04:00
Support Ubuntu 20.04, 22.04, 24.04 and OSX. The installation duration is more than 30 minutes.
2024-08-16 11:30:34 -04:00
2020-07-14 02:42:27 -04:00
```bash
2024-11-23 23:32:11 -05:00
make install_os
2024-08-25 15:54:24 -04:00
make install_odoo_16
2020-07-14 02:42:27 -04:00
```
2024-08-16 11:30:34 -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`
2024-08-16 11:30:34 -04:00
2020-07-14 02:42:27 -04:00
```
2024-04-23 00:50:09 -04:00
xmlrpc_interface = 0.0.0.0
2020-07-14 02:42:27 -04:00
```
2024-08-16 11:30:34 -04:00
2024-08-25 15:54:24 -04:00
Show version :
```bash
make version
```
2021-07-20 16:19:01 -04:00
Ready to execute:
2024-08-16 11:30:34 -04:00
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
2020-07-05 22:38:14 -04:00
## Discover guide
2024-08-16 11:30:34 -04:00
2020-07-05 22:38:14 -04:00
[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
2024-08-16 11:30:34 -04:00
2020-07-05 22:38:14 -04:00
[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
2024-08-16 11:30:34 -04:00
2020-07-05 22:38:14 -04:00
[Guide to run ERPLibre in development environment ](./doc/DEVELOPMENT.md ).
2020-04-13 00:06:13 -04:00
2024-09-27 01:44:52 -04:00
### Pycharm
First open
```bash
make pycharm_open
```
Close it, and configure
```bash
make pycharm_configure
```
Open it
```bash
make pycharm_open
```
2020-04-13 00:06:13 -04:00
# Execution
2024-08-16 11:30:34 -04:00
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
2024-08-16 11:30:34 -04:00
2020-07-05 22:38:14 -04:00
To change repository like addons, see [GIT_REPO.md ](doc/GIT_REPO.md )
2021-06-27 00:22:22 -04:00
# Test
2024-08-16 11:30:34 -04:00
2021-06-27 00:22:22 -04:00
Execute ERPLibre test with his code generator.
2024-08-16 11:30:34 -04:00
2021-06-27 00:22:22 -04:00
```bash
2023-02-14 16:49:15 -05:00
time make test_full_fast
2021-06-27 00:22:22 -04:00
```