sudo apt-get update && sudo apt-get upgrade
- Create the Odoo system user:
sudo adduser --system --home=/opt/odoo --group odoo
/** | |
* Handler that will be called during the execution of a PostLogin flow. | |
* | |
* @param {Event} event - Details about the user and the context in which they are logging in. | |
* @param {PostLoginAPI} api - Interface whose methods can be used to change the behavior of the login. | |
*/ | |
exports.onExecutePostLogin = async (event, api) => { | |
const axios = require("axios"); | |
const ManagementClient = require("auth0").ManagementClient; |
Empezamos por un backup de la tarjeta SD, luego lo copiaremos a otra tarjeta SD. En el proceso de copia se puede usar un backup que hayamos hecho o una iso descargada de Internet.
Dividimos el proceso en pasos para facilitar su comprensión y replicación.
Ubuntu 18.04 LTS.
git submodule foreach '[ "$path" == "submodule-to-exclude" ] || git pull origin master' |