Manifold for NSO (New Student Orientation)

About

This page is meant to explain the current set up of Manifold that operates the New Student Orientation project of Fall 2018. Manifold is hosted on an EC2 instance located at manifold.picolabs.io. Manifold the client is running on port 3000, while the Manifold pico engine runs on 8080. NGINX is used as a reverse proxy so we can set up an SSL certificate and allow HTTPS traffic.


Developing Manifold

To begin developing Manifold, install and run the most recent version of the pico engine on your computer. Register the following rulesets on your engine:

  1. io.picolabs.google_signin
  2. io.picolabs.manifold_owner
  3. io.picolabs.manifold_pico
  4. io.picolabs.thing
  5. io.picolabs.safeandmine

Clone the Manifold repository and create a new branch for where you want to develop. Next, go to your engine and install the google_signin ruleset onto your root pico, followed by the account_management ruleset. Go into the root pico's list of channels and find the one created by the google signin ruleset. It will have name google and type signin. Paste that channel into the config.js file under ROOT_SECURED_DID. Uncomment the development section and comment out the production section. Remember to never commit this file from then on. We want the master branch to remember the production version first, so we can just pull master into the ec2 instance when updating. Enter the safe and mine ruleset and edit the http:post where it creates a new tag. Edit the post to go to your local server, NOT the global location.

Copyright Picolabs | Licensed under Creative Commons.