|
|
@ -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: |
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
There are 2 ways to get docker on mac: |
|
|
|
- docker desktop for mac |
|
|
|
- docker toolbox for mac (obsolete, but works with older macs) |
|
|
|
|
|
|
|
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 |
|
|
|
***** 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 |
|
|
|
|
|
|
|
**** Docker Toolbox for mac |
|
|
|
|
|
|
|
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/ |
|
|
|
|
|
|
|
***** Deployment |
|
|
|
|
|
|
|
We have a magic script for you that will install or update your |
|
|
|
current installation of =compose= and of the =charms=. |
|
|
|
|
|
|
|
**** TODO Deployment |
|
|
|
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 |
|
|
@ -136,6 +167,7 @@ cat <<EOF > compose.yml |
|
|
|
odoo: |
|
|
|
charm: odoo-tecnativa |
|
|
|
docker-compose: |
|
|
|
#image: docker.0k.io/mirror/odoo:rc_12.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. |
|
|
|
#command: |
|
|
@ -255,6 +287,7 @@ services: |
|
|
|
PGHOST: postgres |
|
|
|
PGPASSWORD: \${PG_PASS} |
|
|
|
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 |
|
|
|
links: |
|
|
|
- postgres |
|
|
|