Skip to content

Latest commit

 

History

History
106 lines (73 loc) · 2.73 KB

README.md

File metadata and controls

106 lines (73 loc) · 2.73 KB


GitX

Chrome extension for adding private comments in Github

Built with ❤︎

Commits-per-month PR-Welcome License

Buy Me A Coffee

Getting started

Clone the project

# clone it
git clone https://github.com/gitxapp/gitx.git
cd gitx

Preliminary Steps

Create a new app in Github

Setup environment variables for back end

Add .env file under the top level of the project.

Add the following details

DB_URI = 'mongodb://localhost/gitx'
GITHUB_CLIENT_ID = <GITHUB_APP_CLIENT_ID>
GITHUB_CLIENT_SECRET = <GITHUB_APP_CLIENT_SECRET>
JWT_KEY = <JWT_KEY>
REDIS_URL = 'redis://127.0.0.1:6379'
HEROKU_URL= <HEROKU_URL>
WELCOME_URL='https://gitxapp.com/welcome.html'

Setup environment variables for chrome extension

Add constants.js file under the src folder

Add the following details

export const VERSION = "v1";
export const INSTALL_URL = "https://gitxapp.com/connect.html";
export const UN_INSTALL_URL = "https://gitxapp.com/uninstall.html";
export const URL = "http://localhost:5000/api/";
export const REDIRECT_URL = "GITHUB_CALLBACK_URL";
export const APP_ID = "GITHUB_APP_CLIENT_ID";

Running the project

Run the back end

# Install dependencies
yarn install
# Start the app
yarn server

Run chrome extension

# Make a build
yarn client
# Open chrome://extensions/ from your chrome browser and enable Developer mode
# Click on "Load unpacked" button and upload the build folder

Feedback & Contributing

Feel free to send us feedback on Twitter or file an issue.

Gitxapp © 2019-2020 - Released under the MIT License.