ossfriday / ossfriday
- четверг, 29 июня 2017 г. в 03:11:54
📅 Contribute to the open source community every Friday
Open source is made by people just like you. This Friday, invest a few hours contributing to the software you use and love.
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:
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.
Source hosted at GitHub. Report issues/feature requests on GitHub Issues.
Register a new GitHub OAuth application.
http://localhost:3000
.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.
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
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 (c) Open Source Friday contributors. See LICENSE for details.