Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New option to set application name #606

Merged
merged 1 commit into from
Apr 5, 2021
Merged

Conversation

aravindavk
Copy link
Contributor

@aravindavk aravindavk commented Apr 5, 2021

Showing "Kemal" in startup and shutdown messages confuses user
when the static binary is deployed at customer setup.

This PR adds a option to set App name so that it will be shown
when the application starts and shutdown.

Example:

require "kemal"

get "/" do
  "Hello App!"
end

Kemal.config.app_name = "helloapp"
Kemal.run

Shows message as follows

[development] helloapp is ready to lead at http://0.0.0.0:3000

Signed-off-by: Aravinda Vishwanathapura [email protected]

Showing "Kemal" in startup and shutdown messages confuses user
when the static binary is deployed at customer setup.

This PR adds a option to set App name so that it will be shown
when the application starts and shutdown.

Example:

```
require "kemal"

get "/" do
  "Hello App!"
end

Kemal.config.app_name = "helloapp"
Kemal.run
```

Shows message as follows

```
[development] helloapp is ready to lead at http://0.0.0.0:3000
```

Signed-off-by: Aravinda Vishwanathapura <[email protected]>
Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @aravindavk 🙏

@sdogruyol sdogruyol merged commit de5e022 into kemalcr:master Apr 5, 2021
aravindavk added a commit to kadalu/moana that referenced this pull request Apr 6, 2021
* Also using `6e72ebb447caa29e9868af546d1d0b2343a68553` of Kemal
  library to use the `app_name` feature(
  kemalcr/kemal#606)
* Added `shards version` to get version from `shard.yml` file

Signed-off-by: Aravinda Vishwanathapura <[email protected]>
aravindavk added a commit to kadalu/moana that referenced this pull request Apr 6, 2021
* Also using `6e72ebb447caa29e9868af546d1d0b2343a68553` of Kemal
  library to use the `app_name` feature(
  kemalcr/kemal#606)
* Added `shards version` to get version from `shard.yml` file

Signed-off-by: Aravinda Vishwanathapura <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants