Project configuration
A Hoplite project selects one qualified application Var through project.edn.
{:hara/type :project :hara/version "1.0.0" :project/id example/app :project/version "0.1.0" :project/source-paths ["."] :project/test-paths [] :project/extension-paths [] :project/capabilities #{:host/nginx} :project/main example.app :project/default-profile :server :project/profiles {:server {:profile/language :hoplite :profile/main example.app/app :profile/options {:port 8080}}}}Required profile fields
Section titled “Required profile fields”| Field | Meaning |
|---|---|
:profile/language |
Must be :hoplite |
:profile/main |
Qualified Var that evaluates to hoplite.core/app or hoplite.internal/config |
:profile/options |
Optional map containing :port and :workers |
:profile/extensions |
Optional host-owned extension and package configuration |
The command-line --profile NAME option overrides :project/default-profile.
The default build has no :hoplite/authentication profile field and does not
start an account, session, or management service. Authenticate and authorize
inside HAL application policy, using explicitly installed host capabilities
where native cryptography or storage is required. See
Application authentication for the ownership model.
See the complete project schema reference.