From c6114616b0615f4ee73dff99e61a31f4bc172d00 Mon Sep 17 00:00:00 2001 From: Jim McCusker Date: Tue, 20 Mar 2018 19:15:56 -0400 Subject: [PATCH 1/3] Update install.md --- docs/install.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/install.md b/docs/install.md index 252d43db..c88617d9 100644 --- a/docs/install.md +++ b/docs/install.md @@ -15,16 +15,33 @@ Whyis installations are currently supported on Ubuntu >= 14.04. This is useful for deploying production knowledge graphs, or for developers who already have a machine (virtual or otherwise) that is ready to run Whyis. +``` +bash < <(curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/release/install.sh) +``` + +To install using the development branch of Whyis, use the master install script: + ``` bash < <(curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/install.sh) ``` + + ## Layer 3: Install into a vagrant virtual machine This is useful for developers who want to isolate their development environment so that builds are repeatable, and for developers of multiple knowledge graphs. You will need to install vagrant and virtualbox. +``` +mkdir whyis-vm && cd whyis-vm +curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/release/Vagrantfile > Vagrantfile +curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/release/install.sh > install.sh +vagrant up +``` + +To install using the development branch of Whyis, use the master install script: + ``` mkdir whyis-vm && cd whyis-vm curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/Vagrantfile > Vagrantfile @@ -32,6 +49,7 @@ curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/instal vagrant up ``` + # Administrative Tasks To peform the following administrative tasks, you need to connect to the VM (if you're not running directly): From a3db6bb2b8e6c836d7799d2a02697c96421fea0d Mon Sep 17 00:00:00 2001 From: Jim McCusker Date: Tue, 20 Mar 2018 19:20:51 -0400 Subject: [PATCH 2/3] Update install.md --- docs/install.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/install.md b/docs/install.md index c88617d9..49187aa2 100644 --- a/docs/install.md +++ b/docs/install.md @@ -49,6 +49,11 @@ curl -skL https://raw.githubusercontent.com/tetherless-world/whyis/master/instal vagrant up ``` +If you are setting up more than one whyis vm (maybe for multiple projects), be sure to change the IP address in the Vagrantfile after you downloaded but before running `vagrant up`: + +``` + config.vm.network "private_network", ip: "192.168.33.36" +``` # Administrative Tasks From d208b5a5a6647ab16608e5ecd376f8b491a4bb6a Mon Sep 17 00:00:00 2001 From: Jim McCusker Date: Wed, 21 Mar 2018 02:28:38 +0000 Subject: [PATCH 3/3] Added back some triples needed for flaskld. --- default_vocab.ttl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/default_vocab.ttl b/default_vocab.ttl index b1453998..3c973d48 100644 --- a/default_vocab.ttl +++ b/default_vocab.ttl @@ -18,6 +18,17 @@ +dc:description rdf:type owl:DatatypeProperty , + owl:FunctionalProperty . + +rdfs:label rdf:type owl:DatatypeProperty , + owl:FunctionalProperty . + +foaf:mbox rdf:type owl:DatatypeProperty , + owl:FunctionalProperty . + + + ### http://vocab.rpi.edu/flaskld/hasOwner flaskld:hasOwner rdf:type owl:ObjectProperty ;