Skip to content
Snippets Groups Projects
Commit c29a1ed6 authored by Carla Berenguer's avatar Carla Berenguer
Browse files

Merge branch 'fix/updated-README' into 'master'

README update

See merge request !60
parents 5e7981b1 b70b86bd
No related branches found
No related tags found
1 merge request!60README update
Pipeline #57328 passed
......@@ -6,7 +6,7 @@ This repository stores hosts informations and related variables for this specifi
1. Clone this repo and [odoo-provisioning](https://gitlab.com/coopdevs/odoo-provisioning) in the same directory
2. If you want to test this set up locally, install [devenv](https://github.com/coopdevs/devenv/) and do:
```sh
cd odoo-carsharing-inventory
cd odoo-vertical-carsharing-inventory
devenv # this creates the lxc container and sets its hostname
```
3. Go to `odoo-provisioning` directory and install its Ansible dependencies:
......@@ -18,11 +18,11 @@ This repository stores hosts informations and related variables for this specifi
```sh
# tell it to keep it local with limit=dev
# don't ask for vault pass as no secrets are required for local setups
ansible-playbook playbooks/provision.yml -i ../odoo-carsharing-inventory/inventory/hosts --limit=dev
ansible-playbook playbooks/provision.yml -i ../odoo-vertical-carsharing-inventory/inventory/hosts --limit=dev
```
* production mode
```sh
ansible-playbook playbooks/provision.yml -i ../odoo-carsharing-inventory/inventory/hosts --ask-vault-pass --limit=production
ansible-playbook playbooks/provision.yml -i ../odoo-vertical-carsharing-inventory/inventory/hosts --ask-vault-pass --limit=prod
```
5. In development visit http://odoo-carsharing.local:8069
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment