Skip to content
/ ruby-starter Public template

Boilerplate code for developing a ruby app in docker

License

Notifications You must be signed in to change notification settings

mlibrary/ruby-starter

Repository files navigation

ruby-starter

Boilerplate code for starting a ruby project with docker / docker-compose

Set up

Run the setup script

./init.sh

This will:

  • copy env.example to .env
  • enable the precommit hook which wil lint the code before committing. Uncomment those lines in .git/hooks/precommit to enable running tests.
  • build the docker image
  • install the gems

The script does not overwrite .env or /git/hooks/precommit.

Tests

This has rspec initialialized and has one sample test in spec/sample_spec.rb.

A github actions workflow is included that runs standard linting and the tests

Background

This repository goes with this documentation: https://mlit.atlassian.net/wiki/spaces/LD/pages/2404090314/Getting+Started+with+Docker+and+Docker-Compose

About

Boilerplate code for developing a ruby app in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published