crystalcommand to only run our code.
crystalcommand is pretty useful and does lot more than that. (check
crystal --helpfor more)
crystalhelped us create a new project. Let’s see what it did for us.
.travis.ymlto easily integrate Travis for continous integration.
shard.ymlfor dependency management.
specfolders to put our code and tests(ssh..we’ll talk about it soon) in it.
shard.ymland it contains the minimal necessary information about our project. Those are
namespecifies the name of the project
authorssection specifies the authors of the project. By default this is taken from your global
licensespecifies the type of your project license. By default this is
shard.yml? Well we can use this file to add external libraries(we call it dependency) and manage them without even worrying about any folders / paths e.g.. Sweet isn’t it?
shard.yml. First we need to add
Kemalas a dependency to our project. We do this by including
Kemalto our project. First, we need to install it.
Kemalin our project. Open up
Kemalin our program.
localhost:3000and see it in action!