-
Run vagrant up
-
Run ansible-playbook setup.yml
$ ansible-playbook -c paramiko -i develop setup.yml --ask-pass --sudo
3. Run ansible-playbook site.yml
```sh
$ ansible-playbook -i develop site.yml
- ansible 1.6
- vagrant 1.6
- IP Address: 192.168.33.2
- Share
../addons
folder with odoo local addons path (Make this folder before run) - Share
~/git/odoo
folder to/opt/odoo
(Clone odoo here before run)
- Setup apt of virtualmachine to use the realmachine as apt proxy
(edit the file
roles/common/files/02aptproxy
and set yout apt-cacher here) - Install base debian packages
- Install postgresql 9.3 from http://apt.postgresql.org/pub/repos/apt/
- Create openerp role in postgresql
- Install nginx
- Setup gzip level 9 for javascript files
- Setup cache for odoo static files
- Setup nginx as reverse proxy for odoo
- Setup SSL and copy cert and key (place server_name.key and server_name.crt in
nginx/files/
folder)