This document details the installation of Odoo 12.0 plus the addons created by Lokavaluto and available here: [https://github.com/Lokavaluto/lokavaluto-addons](https://github.com/Lokavaluto/lokavaluto-addons). In this installation, we use the branch ```12.0-Exchange_counters_2```. To use anther branch, just change the command in the MakeFile.
This document details the installation of Odoo 12.0 plus the addons created by Lokavaluto available here: [https://github.com/Lokavaluto/lokavaluto-addons](https://github.com/Lokavaluto/lokavaluto-addons). In this installation, we use the branch ```12.0-Exchange_counters_2```. To use anther branch, just change the command in the MakeFile.
## Table of Contents
* [Make file](#Make%20file)
@ -23,12 +23,41 @@ So if you do not want to use the version 12.0 as Lokavaluto does, change it in t
For Lokavaluto's addons, you can chose the branch in the Makefile after the comment ```Change Addons' version here```. If you wan to change the branch after the installation, you can rerun the installation or switch branch in the git folder using ```git checkout branch_name```
```Makefile
.PHONY: odoo python3 pip3 postgre general-dependencies dependencies rtlcss addons run
Create the Makedile where you want to install the environnement.
Create the Makefile where you want to install the environnement.
After the installation, 2 folders are created ```lokavaluto-addons``` and ```odoo``` containing respectively Lokavaluto's addons and Odoo's source files. The script installs the latest version of Python3, pip3, and postgresql. It also downloads all the dependencies listed here: [https://www.odoo.com/documentation/12.0/setup/install.html#id7](https://www.odoo.com/documentation/12.0/setup/install.html#id7).
To start the installation, just run ```sudo make install```.
To install all the tools needed for the development run ```sudo make prepare``` (needs privileges).
To start the installation, just run ```make install```.
### Run Odoo
@ -96,9 +121,14 @@ The arguments ```--addons-path``` adds the defaults addons folder from Odoo 12.0
Everything should be running without errors nor warnings.
Firefox should start and open the web interface.
The WEB interface should be available at [http://localhost:8069](http://localhost:8069). You can login using the user ```admin``` and the password ```admin```.
## Activate the developer mode
The first way to activate the developer mode is to add ```?debug=``` to the URL : [http://localhost:8069?debug=](http://localhost:8069?debug=).
Otherwise you can activate it throught the WEB interface.
Login using the user ```admin``` and the password ```admin``` and go to ```Settings``` to activate the ```developer mode```.