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
### 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 |
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-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/ |
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
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 |
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
# | |
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 |
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
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' |
NewerOlder