-
Notifications
You must be signed in to change notification settings - Fork 1
Deploying on a VM
Princejeet Singh Sandhu edited this page Nov 13, 2018
·
4 revisions
To deploy this project on a VM:
-
git clone https://github.com/BweakfastClub/Foodora.git
to clone the repository from github - Then change directory to
Foodora
-
docker pull mongo
to build an image for mongoDb -
docker build -t foodora/backend .
to build an image for Foodora backend [Dot is important it tells what directory to use to build image from, in our case Foodora directory] -
docker-compose -f docker-compose.yml up -d foodora
to run the service on docker - Then you will get log message saying done