remipichon / voc

Automatically build and deploy Docker on Swarm from Gitlab8
GNU General Public License v3.0
0 stars 0 forks source link

Start to dev #54

Open remipichon opened 6 years ago

remipichon commented 6 years ago

start app

normal

# shell DB
gdk run db

# shell app
gdk run app

App logs apart

# shell DB
gdk run db

# shell app (sudo apt-get install expect-dev)
unbuffer gdk run app | tee app.out 
# shell log
tail -f ~/app.out | grep rails-web

Debug mode (and logs apart)

# shell DB
gdk run

# shell DEBUG
make pry
gdk run thin

# disable pry to use normal state
make pry-off

debug with Pry

termocil

itermocil (brew install itermocil)