Dev Cribsheet - blitterated/groove_automator GitHub Wiki

Groove Automator Dev Cribsheet

darkhttpd

Make sure you're in the GrooveScribe repo's directory

Run darkhttpd in foreground to serve GrooveScribe

darkhttpd . --port 8080 --addr 127.0.0.1

Or run darkhttpd in background to serve GrooveScribe

darkhttpd . --port 8080 --addr 127.0.0.1

Gems used for debugging in Pry

  • byebug
  • pry-byebug
  • ruby/debug

Create and run container

docker run -it \
  --mount type=bind,source="$(pwd)",target="/src" \
  --name groove-automator \
  chruby-dde-3.3

Start container

docker start -ai groove-automator

Change to /src directory (TODO: add to Dockerfile)

cd /src

Run Pry and load Groove Automator

pry 
load './groove_automator.rb'

⚠️ **GitHub.com Fallback** ⚠️