Skip to content

Commit

Permalink
[_posts/2020-06-04] add exist user to exist group
Browse files Browse the repository at this point in the history
  • Loading branch information
kitcharoenp committed Jan 10, 2021
1 parent a2c711c commit c139ffd
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions _posts/2020-06-04-odoo13_ubuntu2004_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,26 +101,31 @@ Jun 04 07:11:23 odoo13 systemd[1]: Started Odoo Open Source ERP and CRM.
```

### Create custom module repository
* [Create repository on **Github**][2] with name `odoo13_cust_mod`
* [Create repository on **Github**][2] with name `odoo13_cust_mod`

* clone repository `git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY`
* clone repository `git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY`
```shell
cd /opt
git clone https://github.com/kitcharoenp/odoo13_cust_mod.git
```

* change owner and permit group `odoo` to write
* change owner and permit group `odoo` to write
```shell
ls /opt
ls -la /opt
drwxr-xr-x 4 root root 5 Jun 4 07:29 odoo13_cust_mod
...
chown -R odoo:odoo /opt/odoo13_cust_mod
chmod -R g+w /opt/odoo13_cust_mod
...
ls /opt
ls -la /opt
drwxrwxr-x 4 odoo odoo 5 Jun 4 07:29 odoo13_cust_mod
```

* add an existing user to a `odoo` group
```shell
$ sudo usermod -a -G odoo ubuntu
```

### Configuring the `addons_path` point to custom module
* backup config
```shell
Expand Down

0 comments on commit c139ffd

Please sign in to comment.