This repo contains the legacy version of ml5.js website that is built with Gatsby and Netlify CMS. This website hosted at archive.ml5js.org.
Warning
This repository is now archived. The latest ml5.js website is hosted at ml5js.org and its source code is available at ml5-website-v02-gatsby.
- docs/index.md: home page content
- docs/community/: Experiments, currently feature image doesn't support gif and svg files
- docs/about.md: about page content
- src/pages: pages(routes) that serve as a collective page of a group of child pages, ex. reference collective page, community collective page, tag collective page
- src/templates: serve as the layout template for single markdown files
- docs/assets: markdown file assets, use relative path
../assets/
or./assets/
to embed in markdown files. - src/img: site assets, logos, social platform icons
- static/img(depracated): images that used in templates
- Node
- version:
v10.19.0
- Recommend using nvm
- version:
- Gatsby CLI
$ git clone https://github.com/[GITHUB_USERNAME]/[REPO_NAME].git
$ cd [REPO_NAME]
$ nvm install // if you have nvm installed
$ npm i
$ npm run start
To test the CMS locally, you'll need run a production build of the site:
$ npm run build
$ npm run serve
Follow the Netlify CMS Quick Start Guide to set up authentication, and hosting.
$ netlify dev # or ntl dev