Installation
Getting Minerva
You could build Minerva from code source. It may take you several hours. So we recommend you install the minerva by release code.
You could get releases of Minerva by wget:
The file size is about 400M, it may take you 10-30 mins to download it.
Once you download the file, you could unzip the files:
Then you could install the run the Minerva as follows:
Getting IPFS
Now CATA supports ipfs 0.7 version:
You could get the release:
the tar the file as follows:
After install the ipfs, you could start the ipfs as follows:
Check installation
After install Minerva and ipfs, you could visit http://your-machine-ip:8047/
You should find the web page like this:
Then click the "Storage" in top nav tab, you should find the ipfs plugin:
if "ipfs" is not in left panel, please enable it.
Then you could add some files to ipfs and search them by SQL from Minerva.
First, you need download a python script and a test file:
The test.json is the metadata of some books. One line one data:
{"id": "53e9a743b7602d9703079a7f", "title": "On the characteristics of a system having master and helping unit", "authors": "S.K. Singh",...}
{"id": "53e9a743b7602d9703079a80", "title": "Study on Zoning Nature of the Structural Deformation in Overlying Strata of Deep Mines","authors":"aaaa",....}
Then could add test.json by splitter.py:(If we use "ipfs add", this command my split one json data into 2 segments )
Then, you could run sql for test.json in minerva web pages:
select * from ipfs.
/ipfs/Qmc7NGW5VQeTUSEfs88Ssj1S4xKZP6cjTqXgDKmrAoPrCa#json
limit 10
You should get the result like this:
Con! You finish the installation of 2 basic components of CATA.
Last updated