不要怂,就是干,撸起袖子干!

Commit 359b7cdb by Mick Hansen

Update README.md

1 parent d6af9698
Showing with 0 additions and 3 deletions
...@@ -148,20 +148,17 @@ $ sudo docker pull mhansen/sequelize-contribution ...@@ -148,20 +148,17 @@ $ sudo docker pull mhansen/sequelize-contribution
``` ```
Start the container and save references to container id and ip: Start the container and save references to container id and ip:
```console ```console
$ CONTAINER=$(sudo docker run -d -i -t mhansen/sequelize-contribution) $ CONTAINER=$(sudo docker run -d -i -t mhansen/sequelize-contribution)
$ CONTAINER_IP=$(sudo docker inspect -format='{{.NetworkSettings.IPAddress}}' $CONTAINER) $ CONTAINER_IP=$(sudo docker inspect -format='{{.NetworkSettings.IPAddress}}' $CONTAINER)
``` ```
Run tests: Run tests:
```console ```console
$ SEQ_HOST=$CONTAINER_IP SEQ_USER=sequelize_test make all $ SEQ_HOST=$CONTAINER_IP SEQ_USER=sequelize_test make all
``` ```
Stop the container: Stop the container:
```console ```console
$ sudo docker stop $CONTAINER $ sudo docker stop $CONTAINER
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!