Update .gitpod.yml
1 file changed
tree: 7bfc5b4618df3b19df60019799b6fe8e405e18fd
  1. .github/
  2. _src/
  3. branding_assets/
  4. .asf.yaml
  5. .gitattributes
  6. .gitignore
  7. .gitpod.yml
  8. .htaccess
  9. _config.yml
  10. CONTRIBUTING.md
  11. gulpfile.js
  12. LICENSE
  13. NOTICE
  14. package-lock.json
  15. package.json
  16. README.md
README.md

Apache SystemDS Website

This repository contains the code for the SystemDS main website.

Dependencies

Node.js and npm

In order to build this project you will need the latest version of node.js and npm. Detailed instructions for download and installation can be found here.

Gulp

We use Gulp to compile Sass and JS as well as run the Jekyll build. You can install it with npm:

sudo npm install -g gulp

Building the website

Download website dependancies

npm install

Build website contents

gulp

If all goes well it open the site in your browser at http://localhost:3000.

Troubleshooting

Error: spawn jekyll.bat ENOENT can be resolved by

gem install jekyll

If you are still facing the issue, perhaps the discussion here might would give some pointers.

Updating the website

After generating files by following above instructions.

  1. Create a new branch (for example, update-website) from the asf-staging branch.
git checkout asf-staging
git checkout -b update-website
  1. Copy the generated files to the website content folder.
cp -r _site/* content/
git add content/*
git commit -m "Update SystemDS website with latest changes"
  1. Add changes to the personal fork and create a PR against asf-staging branch.
git push https://github.com/<id>/systemds-website update-website

An example, PR#83.

How to add new dataset

To add a new dataset,

  1. create <dataset-name>.md file in the _src/_datasets folder.
  2. Upload dataset files to _src/assets/datasets/<dataset-name> folder.

And follow the Updating the website procedure.