Skip to content
Snippets Groups Projects
Commit 268fe84fe38e authored by Efflam Lemaillet's avatar Efflam Lemaillet :robot:
Browse files

doc: add docker compose init commands in readme

parent ae0a92b6cea1
No related branches found
No related tags found
1 merge request!7Topic/default/docker compose
...@@ -62,5 +62,5 @@ ...@@ -62,5 +62,5 @@
Environement initialisation : Environement initialisation :
+++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++
When starting for the first time tou must run following commands: :: When starting for the first time tou must run following commands:
...@@ -66,2 +66,6 @@ ...@@ -66,2 +66,6 @@
.. code-block::
# install node modules in your volumes
docker compose run --rm --entrypoint npm rodolf-frontend ci
# set the localinstall egg in your volume # set the localinstall egg in your volume
...@@ -67,5 +71,7 @@ ...@@ -67,5 +71,7 @@
# set the localinstall egg in your volume # set the localinstall egg in your volume
docker compose run --entrypoint pip rodolf install -e /src docker compose run --rm --entrypoint pip rodolf install -e /src
# install node modules in your volumes # create the instance
docker compose run --entrypoint npm frontend ci docker compose run --entrypoint docker-cubicweb-helper rodolf create-instance
#init the db
docker compose run --rm --entrypoint cubicweb-ctl rodolf db-init instance -a
...@@ -71,4 +77,9 @@ ...@@ -71,4 +77,9 @@
Then to start the services do:
.. code-block::
docker compose up --build -d
Learn More Learn More
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment