Created
December 22, 2015 10:56
-
-
Save ktk/ee1805e86f080d6d03b2 to your computer and use it in GitHub Desktop.
From zero to Fuseki Docker hero
This file contains 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
#!/bin/sh | |
docker run -p 3030:3030 -e ADMIN_PASSWORD=MyFancyPassword -d stain/jena-fuseki | |
sleep 20 | |
curl -u admin:MyFancyPassword --data "dbType=tdb&dbName=mydbname" http://localhost:3030/$/datasets | |
curl -X PUT -u admin:MyFancyPassword -d @my-data-as-ntriples.nt -H "Content-Type: application/n-triples" http://admin:MyFancyPassword@localhost:3030/mydbname/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment