https://github.com/compumike/crystal-docker-quickstart
For example, you may do:
git clone https://github.com/compumike/crystal-docker-quickstart.git my_app
cd my_app
./d_dev
# docker container spins up in a few seconds... within the container's bash shell, try:
make spec
make && out/my_app
# outside container, you may edit src/main.cr, save it, and then again within container:
make && out/my_app
Good luck and enjoy! :)I've written about Crystal before and am using it in production... see https://news.ycombinator.com/item?id=32216786 and https://news.ycombinator.com/item?id=32081943