- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1
 
User Guide
- open Terminal and cd to the project's 
builddirectory (e.g.cd ~/dev/netcreate-2018/build) - 
./nc.js --dataset=projectname(e.g.--dataset=tacitus) - point your browser at 
http://localhost:3000 
The nc.js script will set up the app to load the project called tacitus and start the server.
The script expects your database file and template file to have the same name. And it expects to find them in the build/runtime folder.  So if you have some existing projects, e.g. tacitus, then you'll want to set up the build/runtime folder like this:
/build/runtime/tacitus.loki
/build/runtime/tacitus.template
If no database or template is found, it will create a new one with that name.
If you want to back up your data, back up the files in build/runtime.
See Pull Request #67 for more information.
To generate access tokens:
- Open your browser to http://localhost:3000/ (or whatever URL you're using)
 - Open the Developer Web Console
 - Type 
ncMakeTokens('class','project','dataset',30)-- whereclassis a short designation of class name,projectis any project name, 'dataset' is the name of the loki/template file you're working with, and 30 is the number of tokens you want to generate. e.g.ncMakeTokens('hist101','tacitus','Tacitus',50) - Copy the list of tokens output in the console and hand them out to students.
 
See Pull Request #32 for more information.
Only admins are allowed to delete nodes.  To log in as an admin user, you must either be on localhost, e.g. ip = 127.0.0.1 or add ?admin=true to the url.
To save the data from the last run to publish on a standalone read-only web server:
- 
IMPORTANT: Make sure the project's template is set to NOT require login. Standalone mode does not have a login form. If
requireLoginis set, no graph will be displayed. However, you can still view the graph by adding the login to the url, e.g.http://localhost:3000/#/edit/A-B-G3X. You can use this method to hide graphs from anyone without the special URL. - 
open Terminal and cd to the project's
builddirectory (e.g.cd ~/dev/netcreate-2018/build) - 
load and run the database you want to publish, e.g.
./nc.js --dataset=tacitus - 
Hit
Ctrl-Cto quite the app. - 
type
npm run packageto generate the standalone files. - 
copy the files in
build/publicto your web server. - 
point your browser to the web server to view the data.
 
See Pull Request #46 for more information.
bb7b12c introduced a hack for loading arbitrary databases.
To target a specific database:
- Copy the data/___.json files to the server
 - And add 
?dataset=nameto the url (before the #) 
For example: http://netcreate.org/SampleNetworks/Package/#/
Becomes: http://netcreate.org/SampleNetworks/Package/?dataset=2020-02-06_Tacitus#/
NOTES:
- To debug standalone mode, use 
npm run package:debugto get live updates 
NOTES: Comments as implemented as of April 2024 requires login in order to track read/unread status.
- HOME
 - Releases
 - Installation Guide
 - 
User Guide
- Advanced Panel
 - 
Using Templates
- Edit Template
 - Template Filed Types Reference:
 - Template Technical Documentation
 - 
Template Technical Overviewdeprecated 
 - Filters
 - Import/Export
 - Database Version Documentation
 - Deployment
 - Troubleshooting
 - 
Using Turbo360(deprecated) 
 - Documentation ToDo
 - Decision Log
 - Useful Reading
 
- Design Goals
 - Code Review: Old UI Dataflow and followup UI Dataflow Design
 - UNISYS Architecture
 - User Sessions
 - Developer Reference
 
- Migrating Data -- Deprecated