1
0
Fork 0

WIP README

This commit is contained in:
Tobias Brunner 2019-06-30 16:58:29 +02:00
parent 0c6ecfdd47
commit e9b4000a64

View file

@ -1,10 +1,21 @@
# Odoo PosBox in Docker # Odoo IoT Bock in Docker
Dockerfiles and Docker Compose configuration for running Dockerfiles and Docker Compose configuration for running Odoo IoT Box in Docker.
Odoo PosBox in Docker. It additionally contains
[pos-addons](https://github.com/it-projects-llc/pos-addons) Additionally it contains [pos-addons](https://github.com/it-projects-llc/pos-addons)
for using receipt printers over the network. for using receipt printers over the network.
## Quickstart
1. `docker-compose up`
1. Connect to Odoo and create a new database
1. Install Odoo Apps:
* "Point of Sale"
* "POS Network Printer"
1. (Enable "Developer mode" under Odoo settings)
1. Configure PoS for IoT Box (see docs/iotbox-config.png)
1. Configure Order Printer (see docs/orderprinter.png)
## Backup configuration ## Backup configuration
Example contents of `backup.env`: Example contents of `backup.env`:
@ -26,3 +37,7 @@ Restore of DB:
createdb -T template0 restoretest createdb -T template0 restoretest
pg_restore -d restoretest /data/odoo_data.dump pg_restore -d restoretest /data/odoo_data.dump
``` ```
## Notes
* Connection from PoS Tablet to IoT Box is a direct connection, not via Odoo server!