diff --git a/bin/install.sh b/bin/install.sh index 24112b15..48888558 100755 --- a/bin/install.sh +++ b/bin/install.sh @@ -13,6 +13,8 @@ pip3 install -r requirements.txt make title text="Installing your dabase" docker pull mongo:latest -docker container create --expose 27017 -p ${DB_PORT}:27017 --name=neomadorg_db_1 -v ${PWD}/data:/data -v ${PWD}/data/db:/data/db mongo:latest mongod +docker run -d --expose 27017 -p ${DB_PORT}:27017 --name=neomadorg_db_1 -v ${PWD}/data:/data -v ${PWD}/data/db:/data/db mongo:latest mongod + +make fixtures make start diff --git a/readme.md b/readme.md index f6127cc2..aec0904f 100644 --- a/readme.md +++ b/readme.md @@ -26,8 +26,6 @@ The next steps are also simple. Choose your story: - for lazy developers: go to [Lazy developer install](#lazy-developer-installation) - for developers who want to keep control: read the [Manual installation](#manual-installation) -> You may then want to insert dummy data use `make fixtures`. - ### Lazy developer installation make install @@ -51,6 +49,8 @@ It's been made to be easily readable. Note that you can either have your own _MongoDB_ or use Docker. +> You may then want to insert dummy data running `make fixtures`. + ## Configuring