Name: radish-server
Owner: UW eScience Institute
Description: HTTP server to interact with Radish as a service
Created: 2015-03-27 19:51:43.0
Updated: 2015-04-08 06:47:39.0
Pushed: 2015-06-04 23:08:59.0
Homepage:
null
Size: 5954
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
Other Committers
User | Email | Most Recent Commit | # Commits |
README
Setup
Install dependencies
In server.js:
- Set hostname and port to the server's hostname and port
- Set environment variable RACO_PATH to the path of raco/.
- Set environment variable GRAPPA_PATH to the path of grappa/.
Inserting datasets
- Create a csv file (1 dataset entry per line)
- csv schema:
user name, program name, relation name, uri (for clang it is http://hostname:port), number of tuples, backend the data can be used on, the number column names, a comma separated list of column names followed by column types
- example:
public,adhoc,sp2bench,http://my.radish-server.org:1337,100000000,clang,3,binary,subject,predicate,object,INT_TYPE,INT_TYPE,INT_TYPE
- Note: user name, program name, relation name, and backend are the primary keys
- the uri should be user-accessible as it will be used for direct downloads
- Run the command:
Run the clang/grappa server
node server.js