This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt upgrade -y | |
sudo apt install curl openssh-server ca-certificates postfix -y | |
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash | |
sudo apt-get install gitlab-ce=11.7.5-ce.0 | |
sudo gitlab-ctl reconfigure | |
sudo apt-get install gitlab-ce=11.11.0-ce.0 | |
sudo gitlab-ctl reconfigure | |
sudo apt-get install gitlab-ce | |
vi /etc/gitlab/gitlab.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Gestión de Base de Datos | |
Path: /web/database/selector | |
Ejemplo: | |
http://app.cubicerp.com:20869/web/database/selector | |
Path: /web/database/manager | |
Ejemplo: | |
http://app.cubicerp.com:20869/web/database/manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reset admin Password | |
1) Obtener el login del administrador | |
=> select login from res_users where id=1; | |
2) Verificar que tenga habilitado el parámetro auth_signup_reset_password | |
=> update base_config_settings set auth_signup_reset_password=true; | |
# Si NO nay registros entonces insertar un nuevo registro | |
=> insert into base_config_settings(auth_signup_reset_password) values(true); | |
3) Crear un token de reset_password para el administrador | |
=> update res_partner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Comandos GIT | |
============ | |
git fetch upstream | |
# En caso exista un nuevo branch | |
git checkout -b 8.0 upstream/8.0 | |
# Realizamos el merge sin estrategia | |
git merge upstream/8.0 | |
# Resolvemos los conflictos | |
git mergetool --tool=vimdiff2 --no-prompt <file> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To register a new project on Pypi.python.org, follow the next commands: | |
$ python setup.py register |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To upload a new release of python library on Pypy.python.org, follow the next steps: | |
1. update the setup.py file with the new release | |
... | |
setup(name='openerp-client-etl', | |
version='1.1.1', | |
... | |
2. update the PKG-INFO file with the new release | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RESET REMOTE COOMITS | |
==================== | |
git checkout 7.0 | |
git log | |
git reset --hard <commit-hash> | |
git push -f origin 7.0 | |
RESET LOCAL TO SYNC REMOTE | |
========================== | |
git checkout 7.0 |