Gistcatch
Your Gist Friend, can help you to manage your Gists out of Gist
Requirements
- Ruby 2.5.1
- A GitHub application for authentication
Installation
Manual
Step 1: Clone the repository by:
git clone [email protected]: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 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:
docker-compose up --build
You should run migration commands after that by:
docker-compose run web rails db:migrate