Coder Social home page Coder Social logo

foundation's Introduction

The Oppia Foundation

Purpose

The Oppia Foundation website, located at OppiaFoundation.org, exists to communicate Oppia's mission and story to potential strategic partners. An individual who knows little to nothing about Oppia should come away from a visit to this website with a solid understanding of the problem Oppia aims to solve, how it aims to solve it, and why solving it is so important. In contributing to the Foundation site, please keep this purpose in mind at all times.

Working w/ Jekyll

The Oppia Foundation website is built with Jekyll, a Ruby gem that compiles a bunch of stuff (HTML, CSS, YAML, Markdown, Liquid, etc.) into a nice static website that can be served from GitHub pages. It's very straightforward, especially if you've ever worked with a templating engine before. If you'd like to learn more about Jekyll, you can do so here.

Getting Started

  1. To begin, you'll need to have Ruby installed on your device. Mac computers come with Ruby preinstalled, but if you're on Linux or Windows you can get it here.
  2. You'll also need the "bundler" gem, which you can install by typing gem install bundler in terminal.
  3. Once you have Ruby and Bundler, the next step is to fork and clone this repo.
  4. cd into the repo and type bundle install to install all of the dependencies listed in the Gemfile.
  5. You're all ready to go! Now, just type bundle exec jekyll serve to compile and serve the site locally at http://localhost:4000.

Jekyll comes with a nifty hotreloader, so the site will be recompiled and reserved locally every time you save any changes (with a few exceptions).

Content Modifications

If you're modifying the site's content, there are a few primary places you'll want to know about.

If you're adding new images, please put them into the /images directory. If you're modifying copy, most of that will be located in the markdown file associated with the page the copy is on (e.g. mission.md). In cases where we have multiple pieces of copy in a similar format, that will generally be found in a YAML file under the _data directory. Finally, content in the header, footer, or head can be modified in the associated partial file under the _includes directory. (JavaScript currently lives in _includes/_head.html.)

Style Modifications

We're using a modified version of the Minima theme, which comes as the default shipped with Jekyll. All of our modifications live in the _sass/minima.scss file, which overwrites the default Minima style. Please use the existing variables that are denoted at the top of the file when possible, and alphabetize attributes within a block of SASS.

Questions? Comments?

Please let Jared know if you have any questions, comments, or concerns. The best way to get in touch with him is via email at [email protected].

foundation's People

Contributors

jaredsilver avatar seanlip avatar

Watchers

James Cloos avatar

Forkers

jblair87

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.