Skip to content

Commit 05a65f3

Browse files
Update README.md
Added instructions to run mongodb
1 parent 775aedd commit 05a65f3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ docker-compose exec iky_backend python manage.py init
2626
docker build -t iky_backend:2.0.0 .
2727
docker build -t iky_gateway:2.0.0 frontend/.
2828

29+
# start a mongodb server
30+
docker run --name mongodb -d mongo:3.6
31+
2932
# start iky backend
30-
docker run --name=iky_backend -e="APPLICATION_ENV=Production" iky_backend:2.0.0
33+
docker run --name=iky_backend --link mongodb:mongodb -e="APPLICATION_ENV=Production" iky_backend:2.0.0
3134

3235
# setup default intents
3336
docker exec -it iky_backend python manage.py init

0 commit comments

Comments
 (0)