Skip to content

Commit

Permalink
travis test, readme file update
Browse files Browse the repository at this point in the history
  • Loading branch information
soft2dev committed May 19, 2020
1 parent 76cacf5 commit 6b1f50d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: rust


services:
- docker

Expand Down Expand Up @@ -69,5 +68,5 @@ before_deploy:
- docker build -t snarkos:latest .

deploy:
- docker run -d -p 4130:4130 --name snarkos snarkos
- docker run -p 4130:4130 --name snarkos snarkos

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ This will generate an executable under the `./target/release` directory. To run

### 2.3b Run by Docker

# Docker build
#### Docker build
docker build -t snarkos:latest .
(or docker-compose build)

# Docker run
#### Docker run
docker run -d -p 4130:4130 --name snarkos snarkos
(or docker-compose up)

Expand Down

0 comments on commit 6b1f50d

Please sign in to comment.