GithubHelp home page GithubHelp logo

coderberry / backyourstack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from backyourstack/backyourstack

0.0 1.0 0.0 8.33 MB

BackYourStack analyzes repositories to recommend Open Source projects to support.

Home Page: https://backyourstack.com/

License: MIT License

Dockerfile 0.10% JavaScript 96.63% Shell 0.14% CSS 2.99% Ruby 0.14%

backyourstack's Introduction

BackYourStack

Build Status Slack Status Dependency Status Greenkeeper badge

Discover the open source projects your organization is using that need financial support.

Our goal with BackYourStack is to make it easier for companies to identify the open source projects that they depend on that also need funding.

While we started with just node modules (as defined in package.json files) and with open source projects that are on Open Collective, we know that the open source community is much larger than that. That's why we would love to support more languages and platforms but for that, we need you!

Take a look at our public repository & Contributing Guidelines create or pick up issues and help us make open source more sustainable for everyone! ๐Ÿ™Œ

Service

The official BackYourStack service is available from https://backyourstack.com/

Development

Prerequisites

Node.js

Make sure you have Node.js version >= 10. We recommend using nvm: nvm install

GitHub API Keys

If you are not working on bugs or features that make use of the GitHub API, you do not need to configure a set of GitHub API keys.

If you are going to work on features that make use of the GitHub API, configuring a set of GitHub API keys will help you avoid issues related to rate limiting. GitHub limits unauthenticated use of their API to 60 requests an hour. Registering a new application and using the API keys provided will enable you to make up to 5000 requests from the GitHub API per hour. You can read more information about how GitHub handles rate limiting in their API Documentation.

To allow authentication with GitHub, you'll need a set of keys for the GitHub API. You can get these keys by registering a new OAuth application with GitHub. By default, the callback URL should be http://localhost:3000/auth/github/callback.

You will need the Client ID and Client Secret provided by GitHub after you register your application.

Install

git clone https://github.com/opencollective/backyourstack.git
cd backyourstack
npm install

Store Your GitHub API Keys

We use dotenv to store environment variables. If you configured a set of GitHub API keys, you will need to save them in a .env file. In the root directory of the repository, rename .env.template to .env and add the Client ID and Client Secret generated when you registered your GitHub application.

Start

npm run dev

This will start your local copy of Back Your Stack. You can access it at http://localhost:3000/

Production

Prerequisite

Now

BackYourStack is currently deployed with Now. You will need to install Now Desktop or Now CLI.

Authenticate with:

now login

Switch to the Open Collective team account:

now switch opencollective

Secrets

Make sure that the following secrets are set (uses now secret):

name description
github_client_id Client id for the GitHub oAuth app
github_client_secret Client secret for the GitHub oAuth app
github_guest_token GitHub access token used to process unauthenticated requests

Eg: now secret add github_client_id {value}

Deployment

First:

now

If everything is ok, finalize with:

now alias

License

Back Your Stack is made available under the MIT License

backyourstack's People

Contributors

caarlos0 avatar devurandom avatar dgw avatar duaneobrien avatar flickz avatar greenkeeper[bot] avatar greenkeeperio-bot avatar joncloud avatar marcandre avatar oliviertassinari avatar open-collective-bot[bot] avatar piamancini avatar prateekroopra avatar psmarcin avatar v1adko avatar xdamman avatar znarf avatar

Watchers

 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.