Clone this repository:
git clone https://github.com/supercollider/supercollider.github.io.git
cd supercollider.github.ioThis website is powered by jekyll so in order to view it locally you'll need
to have Ruby and Gems installed
on your computer.
Then, install jekyll and bundler gems:
gem install jekyll bundlerInstall dependencies:
bundle installNow you can run jekyll server:
bundle exec jekyll serveAnd then, in your browser:
We use sass variables so changing colors can be done by editing assets/css/_variables.scss.
Otherwise, the main sass file is assets/css/main.scss.
If you wanna be sure that your CSS changes are going to be effective in the browsers you'll have to update site_version in _config.yml (css cache bust).
To update download links, you'll have to edit _data/downloads.yml.
Please keep in mind that the Download section on the index page will display the first download
for each OS in the current_version category (order matters).
To add a code snippet to the main page:
- edit _data/code_snippets.yml
- add the corresponding audio file in assets/audio
To add a project to the Projects page:
- edit _data/gallery.ymlwith your project data (see examples below)
- if your project is represented by an image, add the corresponding image in images/gallery
- title: YOUR TITLE
  type: image
  image: YOUR IMAGE
  link: YOUR LINK
  author: YOUR AUTHOR NAME
  text: |
    YOUR TEXT- title: YOUR VIDEO TITLE
  type: vimeo (or youtube)
  id: YOUR VIDEO ID
  text: |
    YOUR TEXT