Giter Site home page Giter Site logo

okd-cookbook / commons.openshift.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openshift-cs/commons.openshift.org

0.0 0.0 0.0 344.08 MB

Repository for OpenShift Commons Community Site

Ruby 0.48% HTML 20.71% JavaScript 49.99% CSS 14.54% PHP 3.23% Shell 0.17% Dockerfile 0.02% Java 1.43% SCSS 9.43%

commons.openshift.org's Introduction

OpenShift Commons

Build Status

This repo contains the sources for the OpenShift Commons.

Development

Firstly install the necessary packages on your machine:

bundle install

To develop on your local machine run the middleman server and you should be able to preview your changes at http://localhost:4567

bundle exec middleman server

Deployment

To deploy your changes to http://commons.openshift.org/ you need to have your ssh key set up with the current Openshift app (or be on osdevelopers), and then execute:

bundle exec middleman deploy

This makes sure that middleman build is also executed and all the current changes on the folder will be deployed (including uncommitted ones).

Environment variables

YT_API_KEY - A valid YouTube API key is required by fetch_gathering_videos.rb to create the /data/gathering_videos.yml list (referencing YouTube playlists in /data/gatherings.yml is mentioned in CONTRIBUTING.md). Note that Middleman build would fail, if the /data/gathering_videos.yml is not present. If deploying locally, make sure to run the fetch_gathering_videos.rb script before Middleman build. When deploying on OpenShift, this is already included in the .s2i/bin/assemble script (the YT_API_KEY environment variable must be defined in the build configuration, available during the "assemble" phase). A valid YouTube API key can be obtained per https://developers.google.com/youtube/v3/getting-started

commons.openshift.org's People

Contributors

dmueller2001 avatar jiri-fiala avatar morganb19 avatar openshift-cs-bot avatar luminouscoder avatar tanjarepo avatar wgordon17 avatar jsvgoncalves avatar coreydaley avatar developercorey avatar tonyclemmey avatar cybette avatar jonhorton avatar luciddreamz avatar jhcook avatar angellk avatar kjw3 avatar ldelossa avatar dependabot[bot] avatar sinelnic avatar

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.