https://github.com/enderahmetyurt/gistcatch
Catching Gists
https://github.com/enderahmetyurt/gistcatch
gist github
Last synced: 6 months ago
JSON representation
Catching Gists
- Host: GitHub
- URL: https://github.com/enderahmetyurt/gistcatch
- Owner: enderahmetyurt
- License: mit
- Created: 2018-10-10T19:55:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T01:12:58.000Z (about 5 years ago)
- Last Synced: 2024-06-11T21:56:15.660Z (over 1 year ago)
- Topics: gist, github
- Language: Ruby
- Homepage:
- Size: 196 KB
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
# Gistcatch
Your Gist Friend, can help you to manage your Gists out of Gist
## Requirements
- Ruby 2.5.1
- A [GitHub application](https://github.com/settings/applications/new) for authentication
## Installation
### Manual
Step 1: Clone the repository by:
```shell
git clone git@github.com:enderahmetyurt/gistcatch.git && cd gistcatch
```
Step 2: Install dependencies with `bundle install`
Step 3: Configure your database
```
cp config/database.yml.example config/database.yml
vim config/database.yml # or leave it to use sqlite3 for development
```
Step 4: Create your own [GitHub App](https://github.com/settings/applications/new) and create `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` environment variables.
Step 5: Create and migrate database `rails db:create db:migrate`
### docker-compose
Firstly, you should be sure docker installed on your OS.
Copy `.env_example` to `.env` and edit content. After that you can run by the following command:
```shell
docker-compose up --build
```
You should run migration commands after that by:
```shell
docker-compose run web rails db:migrate
```