Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
git clone https://github.com/vivo-project/Vitro.git Vitro
git clone https://github.com/vivo-project/VIVO.git VIVO


cd Vitro
git checkout <rel-X.Y.Z-RC-N>

cd ../VIVO
git checkout <rel-X.Y.Z-RC-N>


cp ./installer/example-settings.xml local-settings.xml
# Update local-settings.xml with appropriate `vivo-dir` and `tomcat-dir`

Sanity Builds

CommandPlatformTested bySuccess?Notes

mvn clean install -s local-settings.xml

Linux


mvn clean install -s local-settings.xml

Mac


mvn clean install -s local-settings.xml

Windows


New Installation Tests

  1. Prepare installation, see above
  2. Empty MySQL database

    Code Block
    languagebash
    mysql -u root -p
    mysql> drop database vitrodb
    mysql> CREATE DATABASE vitrodb CHARACTER SET utf8;
    mysql> GRANT ALL ON vitrodb.* TO 'vitrodbUsername'@'localhost' IDENTIFIED BY 'vitrodbPassword';


  3. Remove application data

    Code Block
    languagebash
    rm -rf ${VIVO_DIR}/tdbModels/*
    rm -rf ${VIVO_DIR}/solr/data/*


  4. Start Tomcat

    Code Block
    languagebash
    sudo service tomcat8 restart

...

Success -

Dev 4th Oct

...

...

...

Upgrade Tests

Install previous version

Prepare installation

Start Tomcat - check that smoke test fails

Stop Tomcat

Export data with jena2tools

Empty MySQL, <home>/tdbModels

Import data with jena3tools

Start Tomcat

...

Success -

Dev 4th Oct

...

...

Minor updates in RDF (e.g. academicDegree.rdf) means reinference on first startup, even though import / export was correct and did not alter any data.


New Installation UI Tests


TestPlatformTested bySuccess?Notes
1

...

...

UI Tests

 (tick) (tick) (tick) (tick) (tick) (tick) (tick)
Tested by

Success -

Dev 4th Oct (Wilma)

Success -

Dev 4th Oct (Tenderfoot)

Notes

Smoke tests do not produce error

(warning about email server is OK)

 (tick) (tick)Linux | Mac | Windows


2

Home page displays correctly

 (tick) (tick)



3Log in as admin (tick) (tick)



4Site Admin page displays correctly (tick) (tick)



5Each function on site admin display corrrectly (tick) (tick)



6

Site Admin - Add Individual of this class:

Faculty Member

Research Project

Course

Conference

Building

 (tick) (tick)



7Check required fields in creating classes (tick) (tick)



8

Check menu entries

(Home, People, Organizations, Events, etc.)

 (tick) (tick)



9

Check Person display

(logged out, logged in)

 (tick) (tick)



10Add values to all Person fields (tick) (tick)



11

Check tabs on Person display

(overview, publications, contact, etc.)

 (tick) (tick)



12

Add new publication to person

(check required fields)

 (tick) (tick)



13

Check manage publications

(hide / show publications)

 (tick) (tick)



14

Check Publication view

 (tick) (tick)



15

Check AltMetric badge

(e.g. doi: 10.1038/nrmicro2331)

 (tick) (tick)



16Add author(s) to publication (tick) (tick)



17Check Person has co-author network (tick) (tick)



18Check co-author network display (tick) (tick)



19Add grants to Person (tick) (tick)



20Add co-investigators to grants (tick)



21Check Person has co-investigator network (tick) (tick)



22Check co-investigator network display (tick) (tick)



23

Add research areas to people

(check all vocabulary services)

 (tick) (tick)



24Check Capability Map (tick)



25Check Map of Science (tick)



26Check Temporal Graph (tick) (tick)



27Check search (tick) (tick)



28Check index page (tick) (tick)



29Create self editor login associated with profile (tick)



30Log in as self editor (tick) (tick)



31Add and confirm an ORCiD (tick) (tick)



32Create editor and assign proxy editing (tick)



33Log in as proxy editor (tick)



34Check TPF endpoint (tick)



-----------------------

Upgrade Tests

Install previous version

Prepare installation

Start Tomcat - check that smoke test fails

Stop Tomcat

Export data with jena2tools

Empty MySQL, <home>/tdbModels

Import data with jena3tools

Start Tomcat

-----------------------