Code Monkey home page Code Monkey logo

osv-io.github.io's Introduction

Running locally

Ruby

For best experience please use Ruby 2.5 or above. In order to avoid conflicts between different versions of gems found in various gem directories, set explicit location of gem directory by setting GEM_PATH and GEM_HOME in your environment like in this example:

GEM_PATH=$HOME/.gem
GEM_HOME=$HOME/.gem

Finally add $GEM_PATH/bin to your PATH in order to make preview.sh find jekyll executable.

Setting up

Install matching versions of all Ruby gems for GitHub Pages. This will make sure that you can preview features such as HTTP Redirects. Make sure you have bundler installed.

$ gem install bundler #if bundler not installed
$ bundle install
$ git clone https://github.com/osv-io/osv-io.github.io.git osv-io
$ cd osv-io

Starting the server:

Setup environment (consider adding to ~/.bashrc):

$ export EXECJS_RUNTIME=RubyRacer
$ export LC_ALL="en_US.UTF-8"

Start jekyll:

$ ./preview.sh

The preview.sh script will run a jekyll serve with configuration set up for your local copy. You can browse now to localhost:4000.

Publishing

The advised way to edit content on osv.io is to to fork this repository, create branch for you changes and finally create merge request against master of this repo. Aproving pull request will automatically trigger publishing any changes.

osv-io.github.io's People

Contributors

dmarti avatar hanlray avatar hexagonrecursion avatar mkenigs avatar nyh avatar penberg avatar raphaelsc avatar tgrabiec avatar tzach avatar wkozaczuk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osv-io.github.io's Issues

Add Latest updates section

Update section with the latest OSV news.
First ~7 entries will appear on the HP while the rest will be in a osv.io/updates/ page
The updates section will include a RSS feed
Nice to have: updates automatically publish to Twitter

This should also solve #1

News feed is slow and difficult to use

The scrolling news feed on front page is slow and very hard to use because you have to sit and wait for all the news items to appear to find the one you're interested in.

I suggest we replace it with something less fancy that's usable.

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.