|
@ -60,23 +60,54 @@ curl -sS https://git.myceliandre.fr/Lokavaluto/dev-pack/raw/branch/dev/src/insta |
|
|
|
|
|
|
|
|
If you are curious of what it is doing, check: |
|
|
If you are curious of what it is doing, check: |
|
|
|
|
|
|
|
|
https://git.myceliandre.fr/Lokavaluto/dev-pack/src/branch/dev/src/install.sh#L203-L258 |
|
|
|
|
|
|
|
|
https://git.myceliandre.fr/Lokavaluto/dev-pack/src/branch/dev/src/install.sh#L252-L273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** MacOSX |
|
|
*** MacOSX |
|
|
|
|
|
|
|
|
We are using =compose=, and installation process will download |
|
|
|
|
|
=compose= binary, and our =charm-store=. |
|
|
|
|
|
|
|
|
There are 2 ways to get docker on mac: |
|
|
|
|
|
- docker desktop for mac |
|
|
|
|
|
- docker toolbox for mac (obsolete, but works with older macs) |
|
|
|
|
|
|
|
|
**** Requirements |
|
|
|
|
|
|
|
|
They are basically described here: |
|
|
|
|
|
|
|
|
|
|
|
https://docs.docker.com/docker-for-mac/docker-toolbox/ |
|
|
|
|
|
|
|
|
|
|
|
**** Docker Desktop for mac |
|
|
|
|
|
|
|
|
|
|
|
We are using =compose=, and installation process will download |
|
|
|
|
|
=compose= binary, and our =charm-store=. |
|
|
|
|
|
|
|
|
|
|
|
***** Requirements |
|
|
|
|
|
|
|
|
|
|
|
On MacOSX, you'll need to install homebrew and gnu tools: |
|
|
|
|
|
|
|
|
|
|
|
https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ |
|
|
|
|
|
|
|
|
|
|
|
***** TODO Deployment |
|
|
|
|
|
|
|
|
On MacOSX, you'll need to install homebrew and gnu tools: |
|
|
|
|
|
|
|
|
**** Docker Toolbox for mac |
|
|
|
|
|
|
|
|
https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ |
|
|
|
|
|
|
|
|
This docker installs will create a virtualbox with a linux inside. |
|
|
|
|
|
Your =/Users= will be automatically mapped into your virtualbox linux VM. |
|
|
|
|
|
|
|
|
|
|
|
***** Requirements |
|
|
|
|
|
|
|
|
|
|
|
You'll not need anything more than the Docker Toolbox for mac installed. |
|
|
|
|
|
|
|
|
|
|
|
This link will help you with that: |
|
|
|
|
|
https://docs.docker.com/toolbox/toolbox_install_mac/ |
|
|
|
|
|
|
|
|
**** TODO Deployment |
|
|
|
|
|
|
|
|
***** Deployment |
|
|
|
|
|
|
|
|
|
|
|
We have a magic script for you that will install or update your |
|
|
|
|
|
current installation of =compose= and of the =charms=. |
|
|
|
|
|
|
|
|
|
|
|
You need to run this code in the bash of your Virtualbox |
|
|
|
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell |
|
|
|
|
|
curl -sS https://git.myceliandre.fr/Lokavaluto/dev-pack/raw/branch/dev/src/install.sh | bash |
|
|
|
|
|
#+END_SRC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*** Windows |
|
|
*** Windows |
|
@ -136,6 +167,7 @@ cat <<EOF > compose.yml |
|
|
odoo: |
|
|
odoo: |
|
|
charm: odoo-tecnativa |
|
|
charm: odoo-tecnativa |
|
|
docker-compose: |
|
|
docker-compose: |
|
|
|
|
|
#image: docker.0k.io/mirror/odoo:rc_12.0-MYC-INIT |
|
|
image: docker.0k.io/mirror/odoo:rc_13.0-MYC-INIT |
|
|
image: docker.0k.io/mirror/odoo:rc_13.0-MYC-INIT |
|
|
## Important to keep as a list: otherwise it'll overwrite charm's arguments. |
|
|
## Important to keep as a list: otherwise it'll overwrite charm's arguments. |
|
|
#command: |
|
|
#command: |
|
@ -255,6 +287,7 @@ services: |
|
|
PGHOST: postgres |
|
|
PGHOST: postgres |
|
|
PGPASSWORD: \${PG_PASS} |
|
|
PGPASSWORD: \${PG_PASS} |
|
|
PGUSER: \${PG_USER} |
|
|
PGUSER: \${PG_USER} |
|
|
|
|
|
#image: docker.0k.io/mirror/odoo:rc_12.0-MYC-INIT |
|
|
image: docker.0k.io/mirror/odoo:rc_13.0-MYC-INIT |
|
|
image: docker.0k.io/mirror/odoo:rc_13.0-MYC-INIT |
|
|
links: |
|
|
links: |
|
|
- postgres |
|
|
- postgres |
|
|