Skip to content

Instantly share code, notes, and snippets.

View yelizariev's full-sized avatar
Matthew 22:30

Ivan Yelizariev yelizariev

Matthew 22:30
View GitHub Profile
### instruction to run via docker
# install docker ( https://docs.docker.com/engine/installation/ubuntulinux/ )
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list # ubuntu 14.04
apt-get update
apt-get purge lxc-docker
apt-cache policy docker-engine
apt-get install linux-image-extra-$(uname -r) # ubuntu 14.04
apt-get install docker-engine
@yelizariev
yelizariev / 1-Ubuntu-odoo-development.sh
Last active September 6, 2019 10:09
Ubuntu configuration for odoo development
sudo apt-get update
sudo apt-get install git python-pip htop moreutils tree nginx gimp wmctrl postgresql-server-dev-all
sudo apt-get upgrade
################### Github
# configure ssh keys: https://help.github.com/articles/generating-ssh-keys/
################### Odoo
# download odoo from git:
cd /some/dir/
@yelizariev
yelizariev / edit-odoo-source.sh
Last active August 29, 2015 14:16
edit-odoo-source.sh
cd /usr/local/src/odoo
## delete matches="..." at /web/database/manager
sed -i 's/matches="[^"]*"//g' addons/web/static/src/xml/base.xml
## disable im_odoo_support
sed -i "s/'auto_install': True/'auto_install': False/" addons/im_odoo_support/__openerp__.py
@yelizariev
yelizariev / install-ivann-ssh.sh
Last active July 9, 2020 11:33
save my ssh key
#
su
# ivann + general
mkdir ~/.ssh
curl --silent https://github.com/yelizariev.keys | xargs echo -n >> ~/.ssh/authorized_keys
echo -ne " [email protected]\n" >> ~/.ssh/authorized_keys
@yelizariev
yelizariev / install-odoo.sh
Last active November 20, 2023 13:57
install odoo from source. Script is maintained on github now: https://github.com/yelizariev/install-odoo
if [ "$(basename $0)" = "install-odoo.sh" ]; then
echo "don't run install-odoo.sh, because it's not fully automated script. Copy, paste and execute commands from this file manually"
exit 0
fi
#### Detect type of system manager
export SYSTEM=''
pidof systemd && export SYSTEM='systemd'