Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 7477d7f2
authored
Dec 18, 2013
by
Mick Hansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
1 parent
fc38460d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
README.md
README.md
View file @
7477d7f
...
@@ -144,20 +144,20 @@ If you don't feel like setting up databases and users, you can use our [docker](
...
@@ -144,20 +144,20 @@ If you don't feel like setting up databases and users, you can use our [docker](
1.
Getting the image:
1.
Getting the image:
sudo docker pull mhansen/sequelize-contribution
`
```
sudo docker pull mhansen/sequelize-contribution``
`
2. Start the container and save references to container id and ip:
2. Start the container and save references to container id and ip:
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)
```
3. Run tests:
3. Run tests:
SEQ_HOST=$CONTAINER_IP SEQ_USER=sequelize_test make all
```
SEQ_HOST=$CONTAINER_IP SEQ_USER=sequelize_test make all
```
4. Stop the container:
4. Stop the container:
sudo docker stop $container
```
sudo docker stop $container
```
When running tests repeatedly, you only need to redo step 3 if you haven't stopped the container.
When running tests repeatedly, you only need to redo step 3 if you haven't stopped the container.
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment