Skip to content

Commit

Permalink
updated gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
emiteze committed Aug 3, 2017
1 parent 1bbd0f8 commit 1b51c6d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ target/
mvnw
mvnw.cmd
data/db/*
*.DS_Store

### IntelliJ IDEA ###
.idea
Expand Down
10 changes: 10 additions & 0 deletions startProject.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
clear
echo "Creating docker network between mongo and backend containers"
docker network create xyincnet
echo "Running mongodb docker container"
docker run --name xyincmongodbcontainer --network=xyincnet -p 27017:27017 -d mongo
echo "Building an image of our backend project's Dockerfile"
docker build --tag=xyincbackend .
echo "Running backend docker container"
docker run -d --name xyincbackendcontainer --network=xyincnet -p 8080:8080 xyincbackend

0 comments on commit 1b51c6d

Please sign in to comment.