|
|
@ -17,15 +17,13 @@ We are talking of: |
|
|
|
|
|
|
|
** Updating |
|
|
|
|
|
|
|
|
|
|
|
This process will ensure to avoid rebuilding the gigantic intermediate image |
|
|
|
needed (with apache and build/install tools). |
|
|
|
This process will ensure to avoid rebuilding the gigantic intermediate |
|
|
|
image needed (with apache and build/install tools). |
|
|
|
|
|
|
|
You need to run this from the root of a code checkout of: |
|
|
|
https://gitlab.adullact.net/pixelhumain/GoGoCarto |
|
|
|
|
|
|
|
#+begin_src sh |
|
|
|
|
|
|
|
docker_tree_hash=$(git rev-parse HEAD:docker) |
|
|
|
## Intermediate docker image is cached on docker.0k.io if needed |
|
|
|
if ! docker pull docker.0k.io/gogocarto-builder:${docker_tree_hash}; then |
|
|
@ -35,10 +33,8 @@ if ! docker pull docker.0k.io/gogocarto-builder:${docker_tree_hash}; then |
|
|
|
else |
|
|
|
docker tag docker.0k.io/gogocarto-builder:${docker_tree_hash} docker_gogocarto |
|
|
|
fi |
|
|
|
|
|
|
|
make up && |
|
|
|
docker-compose -f docker/docker-compose.yml exec gogocarto make init |
|
|
|
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
** Full release is cached on =docker.0k.io/downloads= |
|
|
@ -52,7 +48,6 @@ As of <2020-10-23 Fri>, the =Makefile='s =init= target is: |
|
|
|
#+begin_src sh |
|
|
|
$ grep ^init Makefile -A1 |
|
|
|
init: install assets load-fixtures fix-perms ## Initialize the project |
|
|
|
|
|
|
|
#+end_src |
|
|
|
|
|
|
|
Note that =load-fixtures= target is actually the mongodb initialization: |
|
|
@ -101,9 +96,3 @@ all non '\*.{php,yml,js}' files. I noticed many many unrelated files in |
|
|
|
|
|
|
|
We need =bin= for symphony utilities that allows to setup things. |
|
|
|
|
|
|
|
* Roadmap |
|
|
|
|
|
|
|
** TODO mongo / the default database name is probably not correctly set. |
|
|
|
|
|
|
|
Indeed, it seems it is defaulted to =gogocarto_default= and I didn't find |
|
|
|
yet how to set it. There's a connection with SAAS mode I think. |