Giter Site home page Giter Site logo

laravel-merge's Introduction

Laravel-Merged

Follow Laravel's merged pull requests.

Screenshot

Pre-requisites

Make sure hub command is in /usr/local/bin/hub path. also make sure you are able to clone repositories using hub.

Try below as example

hub clone laravel/framework

Installation

Clone the repo

git clone [email protected]:ahmedash95/laravel-merge.git

Move to the directory and copy .env.example to .env and setup your database, queues and cache

Run composer

composer install

Migrate database

php artisan migrate

Choose a directory to store the repositories you want to follow it's merged prs

mkdir $projectRoot/storage/cloned_repos

Update CLONE_PATH in your .env file to the new path

CLONE_PATH=storage/cloned_repos

Now make sure to create github Personal Access Token with READ-ONLY permissions then update .env

GITHUB_TOKEN="YOUR_GITHUB_TOKEN"

Now We need to create an github oauth app to allow users login via their github account. open OAuth Apps and create a new app then update .env

GITHUB_CLIENT_ID="CLIENT_ID_TOKEN"
GITHUB_CLIENT_SECRET="SECRET_TOKEN"

Then use your twitter account to create a twitter app and update the tokens in .env

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_SECRET=

Or update .env file to disable twitter notifications

TWEET_MERGED_PRS=false

Now all is good. let's clone the repo and run our first pr:fetch

php artisan laravel:update

Then

php artisan pr:fetch

Now run

php artisan serve

and visit http://localhost:8000

laravel-merge's People

Stargazers

 avatar  avatar  avatar

Watchers

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