{id: kemal}
{id: kemal-about}
- Kemal
- Created by Serdar Dogruyol
{id: kemal-install}
Create a directory and create the following file in it:
Run the following command in the directory
shards install
If it fails with
Failed to resolve dependencies, try updating incompatible shards or use --ignore-crystal-version as a workaround if no update is available.
then try this:
shards install --ignore-crystal-version
{id: kemal-hello-world}
crystal src/hello_world.cr
http://localhost:3000/
{id: kemal-testing-hello-world}
crystal spec/hello_world_spec.cr
{id: kemal-autorestart}
crystal build --release lib/sentry/src/sentry_cli.cr -o ./bin/sentry
./bin/sentry -b "crystal build src/webapp.cr -o bin/webapp" -r bin/webapp
{id: kemal-get-parameters} {i: GET}
crystal spec/get_params_spec.cr
{id: kemal-post-parameters} {i: POST}
crystal spec/post_params_spec.cr
{id: kemal-route-parameters}
crystal spec/post_params_spec.cr
{id: kemal-ecr-templates}
{id: kemal-jinja-templates}
{id: kemal-elapsed-time}
{id: kemal-get-post-route}
{id: kemal-indicate-404}
{id: kemal-styling-404-pages}
{id: kemal-set-header}
{id: kemal-redirect}
{id: kemal-in-docker}