itume / gwgw

hobby app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

First, run

docker-compose build

Everytime you edit Gemfile, you run 'docker-compose build' and install gems

After that, you shoud edit password and host in config/databsase.yml

  • host is mysql container name in docker-compose.yml(ex: db)
  • password is in docker-compose.yml

Then, run this command for create database

docker-compose run web rake db:create

Start

docker-compose up

Open http://localhost:3000/

operation

Stop

docker-compose down

attach container

docker exec -it #{container_name} bash

About

hobby app


Languages

Language:Ruby 74.2%Language:HTML 19.1%Language:CSS 3.5%Language:JavaScript 1.6%Language:CoffeeScript 1.2%Language:Dockerfile 0.4%Language:Shell 0.1%