8000 Merge pull request #4 from tools-utils/dev · tools-utils/odoo-api@63719db · GitHub
[go: up one dir, main page]

Skip to content

Commit 63719db

Browse files
authored
Merge pull request #4 from tools-utils/dev
Removed lib directory. Updated README.md< 8000 /span>
2 parents b658ab8 + 8829a19 commit 63719db

File tree

5 files changed

+8
-613
lines changed

5 files changed

+8
-613
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,20 @@ yarn build
117117
export ODOO_HOST=http://0.0.0.0:8069
118118
export PORT=9000
119119
120-
node lib/index.js
120+
node lib/index.js
121+
122+
# Starting Odoo REST API... 9000
121123
```
122-
- Start `postgres`, `odoo` and `odoo REST API`
124+
125+
- Start `postgres`, `odoo` and `odoo REST API` with `docker`
123126

124127
```
125128
docker-compose up
126129
```
127130

128131
```
129132
curl -d '{"db": "odoo", "login": "a.user", "password": "secret" }' -H 'Content-Type: application/json' http://localhost:9000/auth
133+
134+
# prettier print JSON response from curl
135+
curl -d '{"db": "odoo", "login": "a.user", "password": "secret" }' -H 'Content-Type: application/json' http://localhost:9000/auth | json_pp
130136
```

lib/index.js

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/api/lib/index.js

Lines changed: 0 additions & 286 deletions
This file was deleted.

packages/odoo/lib/index.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0