The development instance of the π-Base is available at topology-development.pi-base.org.
The site is powered by a few different projects, all under github.com/pi-base.
- core - typescript package containing the shared data model (spaces, properties, formulae, &c.). Available on NPM.
- compile - typescript package using
@pi-base/coreto compile a repository of markdown files into a JSON bundle for the viewer to view. Used in a Github action in the
datarepo. Also available on NPM.
- data - repo containing all actual mathematical content. Once a PR here has been approved and merged, it triggers a compiler run, which pushes the compiled bundle to S3 for the public viewer to fetch.
- viewer - this package. Fetches and presents the compiled bundle.
Clone the repo and run
$ yarn install $ yarn start
The developer panel (at
/dev) has some utilities that may be helpful for controlling where the data bundle is fetched from, or for interacting with the stored data. By default, the current production data bundle will be used. You may also want to clone the data repo and run a compiler locally to view edits as you make them; see the compiler's README for more details.
Deployment is automatic on a successful push to
package.json for details.1