Skip to content

webdino/gitfab2

Folders and files

NameName
Last commit message
Last commit date
Jun 1, 2018
Nov 25, 2020
Aug 25, 2019
Nov 25, 2020
Aug 19, 2020
Aug 11, 2020
Oct 30, 2018
Aug 19, 2020
Feb 14, 2019
Aug 22, 2018
Sep 17, 2020
Sep 14, 2018
Jul 27, 2018
Sep 30, 2015
Jun 25, 2014
Aug 3, 2020
Aug 22, 2018
Aug 3, 2020
Jan 11, 2019
Jul 3, 2018
Aug 14, 2018
Aug 22, 2018
Aug 3, 2020
Aug 22, 2018
Aug 22, 2018
Aug 3, 2020
Oct 30, 2018
Sep 2, 2020
Nov 19, 2016
Sep 17, 2020
Feb 13, 2016
Aug 3, 2020
Mar 4, 2014
Sep 10, 2015
Aug 3, 2020
Aug 11, 2020
Aug 11, 2020
Jan 31, 2019
Jan 11, 2019
Jan 11, 2019

Repository files navigation

gitfab2 Build Status Code Climate Coverage Status

Setup a build environment

Requirements

  • Docker 17 ce or later
  • Docker Compose 1.16 or later

Installation

$ git clone [email protected]:webdino/gitfab2.git
$ cd gitfab2
$ cp .env.sample .env
$ docker-compose build

Start Docker Compose

$ docker-compose up
$ docker-compose ps
    Name                   Command                  State               Ports         
--------------------------------------------------------------------------------------
gitfab2_app_1   prehook ruby -v bundle ins ...   Up             0.0.0.0:3000->3000/tcp
gitfab2_db_1    docker-entrypoint.sh --inn ...   Up (healthy)   3306/tcp

Open https://localhost:3000 in your browser.

Create database

$ docker-compose run app bundle exec rails db:setup

Run tests

$ docker-compose run app bundle exec rails db:test:prepare
$ docker-compose run app bundle exec rspec

License

gitfab2 is released under the Apache License, Version 2.0.

Copyright 2017 WebDINO Japan.