Skip to content

Commit

Permalink
Merge pull request #32 from suriya-mca/dev
Browse files Browse the repository at this point in the history
javalin framework support added
  • Loading branch information
suriya-mca authored Oct 16, 2024
2 parents 9a19a88 + cf25da4 commit 196759e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def podman_init(project_name, language):

case "java":
framework = click.prompt('Choose framework',
type=click.Choice(['spring', 'quarkus', 'micronaut', 'vertx', 'exit'], case_sensitive=False),
type=click.Choice(['spring', 'quarkus', 'micronaut', 'vertx', 'javalin', 'exit'], case_sensitive=False),
show_choices=True)

port = click.prompt('Choose port',
Expand Down
1 change: 1 addition & 0 deletions src/templates/java/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
{% elif framework == 'quarkus' %}container_name: quarkus
{% elif framework == 'micronaut' %}container_name: micronaut
{% elif framework == 'vertx' %}container_name: vertx
{% elif framework == 'javalin' %}container_name: javalin
{% endif %}ports:
- "{{ port }}:{{ port }}"

Expand Down

0 comments on commit 196759e

Please sign in to comment.