netcreateorg / netcreate-2018

Please report bugs, problems, ideas in the project Issues page: https://github.com/netcreateorg/netcreate-2018/issues
Other
11 stars 2 forks source link

PROJECT SUMMARY

NetCreate 2018 is a network graph analysis tool for researching reading comprehension in the digital humanities classroom. This is a work in progress. See the NetCreate Wiki for additional documentation.

CITATION

If you use or refer to Net.Create in a publication, we ask that you cite it. The correct citation is: Craig, K. & Danish, J. (2018). Net.Create. http://www.netcreate.org. Indiana University, IN.

QUICK INSTALLATION

The Wiki has detailed instructions. In general, you'll need to install the prerequisite Git and NodeJS (as of 7/29/2020 the officially supported version of Node is version 10.22.0) command line utilities to your computer and use a terminal program to issue the following commands to install from the Internet:

This will get NetCreate installed and ready to run. It may take some time for the npm ci command to finish installing, so be patient!

The first time you run Net.Create, you also need to create a net-create.config file. This will tell Net.Create which dataset to open and which ports to use. We have a script that can do this for you. Run:

QUICK OPERATION GUIDE

Once you have NetCreate installed, make sure you are in the netcreate-2018/build directory. From there, you can execute scripts through the npm tool that is installed as part of NodeJS.

You will be using these commands most frequently:

QUICK-START USER GUIDE

How to access Net.Create as a client: After starting the Net.Create server, you'll see a set of command line responses. One of those is labeled "CLIENTS" and has an IP address that clients can paste into their browser window's address field to access the main Net.Create server.

How to add/change node/edge entries in Net.Create: Net.Create defaults to a view-only state. In order to make any additions/changes to the Net.Create database, each client needs an access token entered in the "Login" field in the upper left-hand corner of the Net.Create window. See ncMakeTokens below in "Support Operations".

How to change node/edge types and select a different project: Two files in the /build/runtime folder hold both data (netcreate.loki) and template (netcreate.template). You can copy and rename these file pairs (i.e. netcreate.template/loki -> mynetwork.template/loki) and then use that to run the server (./nc.js --dataset=mynetwork).

SUPPORT OPERATIONS

To generate access keys for groups, there is a utility accessible from the javascript console of a browser that's running the NetCreate app.

To erase the database, another javascript console command ncEmptyDatabase() will erase the server database. You may have to issue the command twice for it to take hold. Then refresh the browser and see if the database was erased.

All session logs are stored in netcreate-2018/build/runtime/logs.

The server database is stored in netcreate-2018/build/runtime/netcreate.loki if you use npm run dev to start the server. You can copy this file to back it up, even while the server is running.

The node/edge templates are stored in netcreate-2018/build/runtime/netcreate.template if you use npm run dev to start the server.