GithubHelp home page GithubHelp logo

hhy5277 / ossfriday Goto Github PK

View Code? Open in Web Editor NEW

This project forked from github/opensourcefriday

0.0 2.0 0.0 1.72 MB

๐Ÿšฒ Contribute to the open source community every Friday

Home Page: https://opensourcefriday.com

License: MIT License

Ruby 54.27% JavaScript 1.25% CSS 3.67% HTML 40.12% Shell 0.70%

ossfriday's Introduction

Open Source Friday

Open source is made by people just like you. This Friday, invest a few hours contributing to the software you use and love.

What is this?

Open Source Friday is a movement to encourage companies, people and maintainers to contribute a few hours contributing to open source every Friday.

Alternative name: 52 pull requests

Things that worked well for @andrew's 24 Pull Requests that we're replicating:

  • opt-in for maintainers - only point to projects that maintainers have agreed so we don't send a swarm of extra maintainer work to someone who doesn't want it or can't handle it.
  • wisdom of crowds - if lots of people are doing the same thing at the same time more people will make an effort to join in
  • avoid rewards - Getting free t-shirts or other kinds of gifts tends to bring out bad behaviour like PRs that change a single line of whitespace, which waste maintainers time and energy, the rewards should be less tangible

Things we're trying:

  • not tied to pull requests - we're also considering maintainers events on issues, pushes, pull request reviews and releases.

  • Three target audiences - Individual contributors, maintainers and companies are the three types of audience we should be catering to, with documentation for each one on how to get involved.

Development

Source hosted at GitHub. Report issues/feature requests on GitHub Issues.

Getting Started

Register a new GitHub OAuth application.

  • Set the homepage to http://localhost:3000.
  • Set the authorization callback URL to http://localhost:3000/users/auth/github/callback.

Create the config file for the client ID and secret generated for your GitHub OAuth application:

cp config/application.example.yml config/application.yml

Update config/application.yml, setting the github_client_id and github_client_secret.

The environment variables are managed using figaro.

Bootstrapping the Application

If you're on macOS, have Homebrew installed, and you've set the environment variables above to get started run:

./script/bootstrap
./script/setup
./script/server

Otherwise, no worries! You can follow these instructions to install a local server.

First, you'll need to install Ruby. We recommend using the excellent rbenv, and ruby-build

rbenv install

Next, you'll need to make sure that you have PostgreSQL installed. On Debian-based Linux distributions you can use apt-get to install Postgres:

sudo apt-get install postgresql postgresql-contrib libpq-dev

On Windows, you can use the Chocolatey package manager to install Postgres:

choco install postgresql

Now, let's install the gems from the Gemfile ("Gems" are synonymous with libraries in other languages).

gem install bundler && rbenv rehash
bundle install

Once all the gems are installed, we'll need to create the databases and tables. Rails makes this easy.

./bin/setup

Now all we have to do is start up the Rails server and point our browser to http://localhost:3000

./script/server

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so we don't break it in a future version unintentionally.
  • Send a pull request. Bonus points for topic branches.

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copyright

Copyright (c) Open Source Friday contributors. See LICENSE for details.

ossfriday's People

Contributors

andrew avatar arku avatar audiolion avatar badersur avatar benpolinsky avatar bkeepers avatar maxcell avatar mikemcquaid avatar skullface avatar stephenlacy avatar

Watchers

 avatar  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.