Code Monkey home page Code Monkey logo

gemicoma's Introduction

Gemicoma

CircleCI

Setup

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version 2.5.3

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

Development Setup

env file

cp .env.example .env
and write tokens (see below)

create Github OAuth App

Create Github OAuth App in this page.
https://github.com/settings/developers

And set GITHUB_CLIENT_ID GITHUB_CLIENT_SECRET

GITHUB_ACCESS_TOKEN

create github GITHUB_ACCESS_TOKEN
this token can read repository.

build docker

docker network create gemicoma_link
docker-compose build
docker-compose up

Setup Database

Connect to database and create user.
(We use localhost:15432 by default, docker-compose provide database by this port. )

psql -h localhost -p 15432 -U postgres
create role gemicoma with createdb login password 'gemicoma';

docker-compose run app sh -c "cd /var/www/app && ./bin/rake db:create db:migrate"

Setup Admin

First, access to application and login by github account. http://localhost:13000/

And create admin user by rails console

docker-compose run app rails c

# create admin user 
User.first.create_admin

add repository

http://localhost:13000/admin/github/repositories/new

gemicoma's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar nobuhikosawai avatar ota42y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gemicoma's Issues

Find gem in issue

セキュリティインシデントを発見したときには、gem単位で探すと思うので、gemを利用しているプロジェクトを探し出す機能を追加したいです。

use .ruby-version

Sometimes Gemfile.lock include ruby-version but in many case, ruby version not include.
So if there're not exist ruby version, we should check .ruby-version

add worker

add worker for crawling repositories.

add color

when newer version exist, change cell color.

remove gem mysql2

postgresを利用するのであれば、mysql2のgemを削除したいです。

また、環境によってはopensslの問題が発生する可能性があるため、利用しないのであれば、削除するほうが良さそうです。

ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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.