Created
January 9, 2019 17:30
-
-
Save tony-shannon/7d9100f3a0c407cd14d8f0e361e70e1f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ignore this line | |
## first make a directory for yottaDB & copy files there | |
mkdir ~/ms-db/yottadb | |
cd ~/ms-db/yottadb | |
svn export https://github.com/robtweed/yotta-gbldir-files/trunk --depth files db_service | |
## now edit their permissions | |
cd db_service | |
sudo chmod 666 yottadb.dat | |
sudo chmod 664 yottadb.gld | |
sudo chmod 666 yottadb.mjl | |
## now run docker container again | |
## as per here https://github.com/robtweed/qewd/tree/master/up/examples/ms-db#yottadb-database-persistence | |
## sudo docker run -it --name db --rm -p 8082:8080 -v ~/qewd-up/ms-db:/opt/qewd/mapped -v ~/qewd-up/ms-db/yottadb/db_service:/root/.yottadb/r1.22_x86_64/g -e microservice="db_service" rtweed/qewd-serve |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment