- Install the required gems through either
gem install sinatra thinorbundle install ./scripts/run.sh
- install latest ruby version for windows
- run
gem install bundler - run
bundle installto ensure all gems are set up locally
- run
rackupin command prompt from the path that config.ru is in. - Note the port the server starts with (9292 for me)
- Navigate to http://localhost:9292/test in your browser to view the demo page
- Build the image:
./scripts/build_docker_image.sh - Run it:
./scripts/run_huntboard_docker_interactive.sh - Navigate to http://localhost:4567/test in your browser to view the demo page
- Ensure that this code repo is located in /opt/HuntBoard
- Ensure Docker is installed on your machine and set up in rubymine: https://www.jetbrains.com/help/ruby/using-docker-as-a-remote-interpreter.html
- Build the image:
docker build -t huntboard ./from the repo location (/opt/HuntBoard)
- Run the image as a daemon (mapping in the local code so you can edit on the fly):
docker run -d -p4567:4567 -v /opt/HuntBoard:\opt\HuntBoard huntboard:latest
- Navigate to http://localhost:4567/test in your browser to view the demo page