3 ms·
If you'd like to try out Crystal without installing anything locally, I've created a tiny Docker container with a Crystal project template: https://github.com/
by compumike 4y ago
If you'd like to try out Crystal without installing anything locally, I've created a tiny Docker container with a Crystal project template:
https://github.com/compumike/crystal-docker-quickstart 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 https://news.ycombinator.com/item?id=32216786 and https://news.ycombinator.com/item?id=32081943 https://news.ycombinator.com/item?id=32081943