diff --git a/ui/core/.template-lintrc.js b/ui/core/.template-lintrc.js
index 99ddf1bd6..61df6a727 100644
--- a/ui/core/.template-lintrc.js
+++ b/ui/core/.template-lintrc.js
@@ -3,6 +3,8 @@
module.exports = {
extends: 'octane',
rules: {
- 'no-bare-strings': true
+ 'no-bare-strings': true,
+ 'no-curly-component-invocation': { allow: ['app-name'] },
+ 'no-implicit-this': { allow: ['app-name'] }
}
};
diff --git a/ui/core/README.md b/ui/core/README.md
index 144a0b034..84d20145c 100644
--- a/ui/core/README.md
+++ b/ui/core/README.md
@@ -8,11 +8,11 @@ The core UI for Project Watchtower.
- [Prerequisites](#prerequisites)
- [Installation](#installation)
+- [Yarn Commands](#yarn-commands)
- [Running / Development](#running--development)
- - [Code Generators](#code-generators)
- - [Running Tests](#running-tests)
- - [Linting](#linting)
- [Building](#building)
+ - [Environment Variables](#environment-variables)
+ - [Running Tests](#running-tests)
- [Deploying](#deploying)
- [Further Reading / Useful Links](#further-reading--useful-links)
@@ -65,6 +65,14 @@ To build the project, without running it, execute one of the following commands:
* `yarn run build` (development)
* `yarn run build:production` (production)
+#### Environment Variables
+
+These environment variables may be used to customized the build.
+
+| Variable | Default Value | Description |
+| -------- | ------------- | ----------- |
+| `APP_NAME` | Application Name | The user-facing name of the application, appearing in titles, etc. |
+
### Running Tests
* `npm test` runs full tests in random order with coverage
diff --git a/ui/core/app/helpers/.gitkeep b/ui/core/app/helpers/.gitkeep
deleted file mode 100644
index e69de29bb..000000000
diff --git a/ui/core/app/helpers/app-name.js b/ui/core/app/helpers/app-name.js
new file mode 100644
index 000000000..ed1e479bb
--- /dev/null
+++ b/ui/core/app/helpers/app-name.js
@@ -0,0 +1,6 @@
+import { helper } from '@ember/component/helper';
+import config from '../config/environment';
+
+export default helper(function appName() {
+ return config.appName;
+});
diff --git a/ui/core/app/templates/application.hbs b/ui/core/app/templates/application.hbs
index 9dffbf57c..71796d43c 100644
--- a/ui/core/app/templates/application.hbs
+++ b/ui/core/app/templates/application.hbs
@@ -1,5 +1,5 @@