Manifold is an interactive interface from which end users can install and manage their picos' rule-sets.
Note: Manifold is currently under heavy development and is subject to change. This is meant to be a guide for Manifold and Manifold app developers.
If you are completely new to the Pico Engine, start here: Pico Engine Quickstart.
Enter the directory downloaded in step 2 on your local machine from command line and type "npm install", which will then initiate an installation of the required dependencies. Once this process finishes enter "npm start" this should start an instance of the Manifold. (You will have 2 separate programs running now, one for manifold, the other for the pico engine). By default Manifold starts on localhost port 3000.
If you have previously signed into a Manifold service before, then it is possible that you will be redirected to manifold.picolabs.io. If this happens, simply navigate back to localhost:3000, click on the user profile in the top right, then click logout. This will allow you to sign in again using your google account. |
When installed, the pico engine page will refresh requiring you to login before doing anything else. The default root pico id and password are: "root" and "toor" respectively.
5. Register the following rulesets with your engine (but do not install them on your pico yet). The first few rulesets can be found in the folder "Manifold_krl" at the root of the Manifold project you cloned in step 2:
Your config file should look something like this:
In a separate tab, open the manifold page (by default address: localhost:3000/#/login)
If everything was done correctly, clicking on the Sign in with Google button should navigate you to the Manifold landing page after signing in. Note: Once you are signed in, an internet connection is no longer necessary.
Also confirm that your pico engine has a child pico of the root which is named with a long string. This is your owner pico. Your owner pico should then have a child pico called Manifold. This owner/Manifold pico pairing exists for every google account that signs in using your pico engine. This is what it should look like, ignoring any other lines:
You are now ready to develop Manifold apps!
You can now enter your text editor and change the local Manifold files, the program will automatically detect these changes and display them.
To confirm that it has been connected to your pico properly, go to your pico engine. Whatever user you authorized with (whether it was root or an owner that you created) should now have a child named Manifold. In the root pico's rulesets, "io.picolabs.manifold_owner" should be installed. (Appear in the list of Pico Rulesets).
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.