VIVO Documentation
Page History
Info | ||
---|---|---|
| ||
This page is being written. Please do not use the content of this page until this banner is removed. |
Table of Contents |
---|
Overview
...
- Record the name of the database you used to install VIVO. In the installation instructions, this is referred to as
vitrodb
, but you may have named it something else. After you have finished with the sample data, you will follow steps to reset VIVO to use this database. Create a new database in MySQL
Code Block title Create sample database $ mysql -u root -p Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.7.9 MySQL Community Server (GPL) Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> CREATE DATABASE sampledb CHARACTER SET utf8; mysql> GRANT ALL ON sampledb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';
- edit Edit the
runtime.properties
file to tell VIVO the name of the database it should use. In this casesampledb
. - Restart Tomcat
On completing these steps, your VIVO will be using an "empty" database. VIVO You may need to wait for VIVO to start the first time, as VIVO automatically loads data from files distributed with VIVO. These data pertain to countries of the world. Your . You may ned to refresh your browser. You may need to wait will VIVO indexes the first time data. It may take several minutes for VIVO to restart, load the first time data, and index it. When VIVO has completed its work, and you have refreshed your browser, your home page should look like:
You are are now ready to load the sample data.
...
- Log in to your VIVO as a site admin
- Goto to Site Admin / Add/Remove RDF Data
- Enter the address of the sample data, https://raw.githubusercontent.com/vivo-project/sample-data/master/sample-data.n3, select "add instance data," and set the file type to "N3." See below
- Check to make sure you have the form filled out properly: 1) the URL for the sample data has been entered as shown; 2) "add instance" is selected; 3) "N3" is selected as the file type. Press Submit.
- After a brief upload, you will see
- Navigate to your home page. You should see
- That's it! Let's start exploring.
Exploring the Interface
...
Use the interface to search for terms. You may wish to try "Chemistry" or "Derrida" or "Roberts".
Sign on as a site administrator and use the interface. You will see edit controls that allow you to modify the data using the interface.
On the person's profile, click "Turn On" at the top of the page to turn on verbose property display. This shows you the properties VIVO is using to store each piece of information on the page, and attributes assciated with each of the properties.
On a person's profile, click "Edit this individual". You will be presented with an internal view providing information about the data being used to create the profile.
At the top of the display is a list of the datatype properties and their values to be edited.
Below that is a list of Object properties showing connections between the individual and other entities in VIVO. Studying these connections can help you understand how VIVO stores data in a connected graph.
Click on "Edit this Individual" on the Individual Control Panel.
From this page you can edit or add values for any of the properties listed.
Resetting Your Database
When you are finished exploring the sample data, you will want to reset VIVO to use the database you used when installing VIVO. You recorded the name of this database when following the steps above in Preparing Your Database. To reset your database, follow the steps below:
...