Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

README.md

build-test Coverage Status

π-Base

The development instance of the π-Base is available at topology-development.pi-base.org.

Architecture

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/core to compile a repository of markdown files into a JSON bundle for the viewer to view. Used in a Github action in the data repo. 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.

Development

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

Deployment is automatic on a successful push to master. See .github/actions and package.json for details.1

You can’t perform that action at this time.