feat: add nova_kura project template#56
Closed
Taure wants to merge 4 commits intonovaframework:masterfrom
Closed
Conversation
- Add multi-stage Dockerfile with ARG for erlang/rebar versions from .tool-versions - Add .dockerignore to keep build context clean - Use nova_jsonlogger in prod_sys.config for structured JSON logging - Add shutdown_delay and shutdown_drain_timeout config for graceful shutdown - Disable distributed Erlang by default in vm.args (commented out -sname/-setcookie) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace /heartbeat with /healthz and /readyz endpoints following k8s conventions. Add fly.toml template and rebar3 nova fly provider for one-command deploys to Fly.io. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New template (rebar3 new nova_kura my_app) that scaffolds a Nova project with Kura ORM pre-configured. Includes repo module with DATABASE_URL parsing for cloud deploys, dev/prod sys.config with postgres settings, and src/migrations + src/schemas directories. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add static file route for /assets/[...] in dev environment only, so rebar3 nova openapi output is accessible without manual routing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
burbas
requested changes
Mar 18, 2026
Contributor
burbas
left a comment
There was a problem hiding this comment.
You are mixing two PR here. Both for k8s and also templates for kura. Remove the k8s and it's approved :)
Contributor
Author
|
Superseded by #61 ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rebar3 new nova_kura my_appscaffolds a Nova project with Kura ORMDATABASE_URLparsing viauri_stringfor cloud deploys (Fly.io, GCP, etc.)src/migrations/andsrc/schemas/directoriesDepends on: #55
Usage
Template contents
src/{name}_repo.erlsrc/{name}_app.erlkura:start/1config/dev_sys.config.srcconfig/prod_sys.config.srcsrc/migrations/src/schemas/Test plan
rebar3 new nova_kura test_appgenerates all expected fileskura_repobehaviourDATABASE_URLparsing handles standard postgres:// URLs🤖 Generated with Claude Code