-
Notifications
You must be signed in to change notification settings - Fork 1
Turbo360
Work in Progress
In general, you want to do this:
- Admin: Prepare a "NetCreate (Blank)" template
- Researcher: Clone a new "Unit" from "NetCreate (Blank)"
- Researcher/Teacher: Clone a new "Project" from the "Unit" T360 template
- Teacher: Share that "Project" with students
There should already be a "NetCreate (Blank)" template project. If you need to prepare a new one (e.g. because the code needs to be updated) you would deploy a new version to the "NetCreate (Blank)" instance. Assuming you really do want a blank project, you should not need to add any nodes or edges.
A "Unit" is really just a T360 Project that is set to be cloneable. To add starting nodes and edges to a project:
- Import a new NC Template (
tomlfile) - Import Nodes (from csv)
- Import Edges (from csv)
- Make the project cloneable
Important
Once a project is cloned it is difficult to modify, so prepare the "Unit" project carefully. Updating the code for a T360 Project instance is a time consuming manual process requiring a manual deployment of every project instance.
To prepare a new project instance from the "Unit" T360 Template, launch a new project from the "Unit" T360 Template. If each classroom/period needs to have their own graph, launch multiple new projects.
Generate tokens and share the tokens with students.
Assuming you have already set up a Turbo360 account...
- Launch a new project from a template
This will create a curriculum project instance. We will then deploy code changes on top of this instance. And then use this as the jumping off point for cloning additional projects for students.
a. Log in b. Click on "Templates" c. Find a template to use and click "Launch" -- e.g. "net.create (Blank)" d. Give it a name, e.g. "nc_curric_spring2025" -- you will be cloning b. Select "Can Clone"
git clone https://github.com/Vertex-Labs/netcreate-itest-turbo360.gitcd netcreate-itest-turbo360git checkout turbo360-web-hostnvm usenpm ci- Make sure it runs:
./nc.js --dataset=demo npm run package-turbo360- Deploy:
npm run deploy-turbo360 - Select the existing instance to deploy to.
- Get the URL from the portal: https://portal.turbo360.co/
- Instructions for MEME can be found here: [PR #91](https://github.com/theRAPTLab/meme-2023/pull/91) [ReadMe](https://github.com/theRAPTLab/meme-2023/blob/4850de881b91568b89184dd15bef4dbfdf654ce7/README-Turbo360.md)
- The
npm run package-turbo360script basically does anpm run packagefirst, and then the deploy script copies the/publicfolder to the/dist/publicfolder, thennpm run deploy-turbo360uploads the files to Turbo360. - To look up the name of the project, go to the console and type
NC_CONFIG. This will spit out the name of project file:
{dataset: 'demo', port: '3000', googlea: '0'}
- Project database files are in
/app-data/-- these are the files that will be deployed.- So to update that you have to run
npm run package - How do you define which project is active? Use
/.nc.js? doesnetcreate-config.jsshow the right project?
- So to update that you have to run
- Does this always start with a blank db? And you have to import data?
- 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