Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:docker:add-dataset [2014/10/14 16:36] – [Deploying your code to the server] admin | doc:docker:add-dataset [2014/11/17 15:35] – [Adding a dataset to data.open-ease.org] admin | ||
---|---|---|---|
Line 96: | Line 96: | ||
# build is finished. Check the build details tab here: | # build is finished. Check the build details tab here: | ||
# https:// | # https:// | ||
- | docker pull knowrob/ | + | docker pull knowrob/ |
+ | docker rm knowrob_data | ||
+ | docker run --name knowrob_data knowrob/ | ||
| | ||
# if you have added your own query library: | # if you have added your own query library: | ||
Line 107: | Line 109: | ||
After rebuilding the containers, you can start the system locally and see if you can access your data. The // | After rebuilding the containers, you can start the system locally and see if you can access your data. The // | ||
- | | + | |
You should now be able to login to the system at http:// | You should now be able to login to the system at http:// | ||
Line 128: | Line 130: | ||
When verything works fine on your computer, you are ready to deploy the containers to the server at data.open-ease.org. | When verything works fine on your computer, you are ready to deploy the containers to the server at data.open-ease.org. | ||
- | **Please be careful with updates of the server -- only deploy well-tested code and refrain from deleting containers | + | Please be careful with updates of the server -- only deploy well-tested code and refrain from deleting |
The following steps need to be performed after logging into the server: | The following steps need to be performed after logging into the server: | ||
- Import your data into the MongoDB on the server as described above. You will need to copy your-tf.json to the server and run the mongoimport program from there. | - Import your data into the MongoDB on the server as described above. You will need to copy your-tf.json to the server and run the mongoimport program from there. | ||
- Rebuild the containers you have changed as you have done it on your local computer (see description above) | - Rebuild the containers you have changed as you have done it on your local computer (see description above) | ||
- | | + | - The startup script is running in a [[http:// |
- | | + | |
<code bash> | <code bash> | ||
# connect to the server | # connect to the server | ||
Line 142: | Line 143: | ||
screen -r | screen -r | ||
+ | # stop the script with CRTL+C | ||
+ | # start the script again | ||
+ | ./ | ||
- | + | # detach the screen session using CTRL+A+D | |
</ | </ |