Skip to content

Commit

Permalink
Apply name change of repo & domain
Browse files Browse the repository at this point in the history
  • Loading branch information
ledermann committed Jun 14, 2022
1 parent 3798c04 commit 6d729d5
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Hostname of the application
APP_HOST=templatus.test
APP_HOST=templatus-vue.test

# Timezone
TIME_ZONE=Berlin
Expand Down
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
@@ -1 +1 @@
APP_HOST=templatus.test
APP_HOST=templatus-vue.test
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,26 @@ This template is developed with optimized performance and security in mind. The

### Security headers

[![Security headers](docs/security-headers.png)](https://securityheaders.com/?q=templatus.ledermann.dev&followRedirects=on)
[![Security headers](docs/security-headers.png)](https://securityheaders.com/?q=templatus-vue.ledermann.dev&followRedirects=on)

What's the red _Permissions-Policy_ badge? This seems to be fixed with one of the next Rails update:
https://github.com/rails/rails/pull/41994

### Mozilla Observatory

[![Mozilla Observatory](docs/mozilla-observatory.png)](https://observatory.mozilla.org/analyze/templatus.ledermann.dev)
[![Mozilla Observatory](docs/mozilla-observatory.png)](https://observatory.mozilla.org/analyze/templatus-vue.ledermann.dev)

### WebPageTest

[![WebPageTest](docs/web-page-test.png)](https://www.webpagetest.org/result/220603_AiDcD6_63C/)
[![WebPageTest](docs/web-page-test.png)](https://www.webpagetest.org/result/220614_AiDcC1_27Y/)

### GTmetrix

[![GTmetrix](docs/GTmetrix.png)](https://gtmetrix.com/reports/templatus.ledermann.dev/OsUlXu9V/)
[![GTmetrix](docs/GTmetrix.png)](https://gtmetrix.com/reports/templatus-vue.ledermann.dev/s9xzDzap/)

### Check-your-website

[![Check-your-website](docs/check-your-website.png)](https://check-your-website.server-daten.de/?q=templatus.ledermann.dev)
[![Check-your-website](docs/check-your-website.png)](https://check-your-website.server-daten.de/?q=templatus-vue.ledermann.dev)

### JavaScript size

Expand Down Expand Up @@ -135,7 +135,7 @@ Build with Vite complete: /Users/ledermann/Projects/templatus-vue/public/vite

### Network transfer

Small footprint: The demo application transfers only **62 KB** of data on the first visit.
Small footprint: The demo application transfers only **69 KB** of data on the first visit.

![Network](docs/network.png)

Expand All @@ -154,7 +154,7 @@ $ container-diff analyze ghcr.io/templatus/templatus-vue -n
Analysis for ghcr.io/templatus/templatus-vue:
IMAGE DIGEST SIZE
ghcr.io/templatus/templatus-vue sha256:... 114.9M
ghcr.io/templatus/templatus-vue sha256:... 114.8M
```

## Getting started
Expand All @@ -165,7 +165,7 @@ ghcr.io/templatus/templatus-vue sha256:... 114.9M

```bash
git clone [email protected]:templatus/templatus-vue.git
cd templatus
cd templatus-vue
```

2. Install PostgreSQL, Redis, and puma-dev (if not already present). On a Mac with Homebrew, run this to install from the `Brewfile`:
Expand All @@ -183,7 +183,7 @@ puma-dev link

# Use Vite via puma-dev proxy
# Adopted from https://github.com/puma/puma-dev#webpack-dev-server
echo 3036 > ~/.puma-dev/vite.templatus
echo 3036 > ~/.puma-dev/vite.templatus-vue
```

4. Setup the application to install gems and NPM packages and create the database:
Expand All @@ -198,7 +198,7 @@ bin/setup
bin/dev
```

Then open https://templatus.test in your browser.
Then open https://templatus-vue.test in your browser.

### Running linters

Expand Down
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Application < Rails::Application

config.time_zone = ENV.fetch('TIME_ZONE', 'Berlin')

config.x.app_host = ENV.fetch('APP_HOST', 'templatus.test')
config.x.app_host = ENV.fetch('APP_HOST', 'templatus-vue.test')

config.x.git.commit_version =
ENV.fetch('COMMIT_VERSION') { `git describe --always`.chomp }
Expand Down
2 changes: 1 addition & 1 deletion config/vite.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"development": {
"autoBuild": true,
"publicOutputDir": "vite-dev",
"host": "vite.templatus.test",
"host": "vite.templatus-vue.test",
"port": 3036
},
"test": {
Expand Down
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default defineConfig({
setupNodeEvents(on, config) {
return require('./spec/cypress/plugins/index.js')(on, config);
},
baseUrl: 'https://templatus.test',
baseUrl: 'https://templatus-vue.test',
specPattern: 'spec/cypress/integration/**/*.{js,jsx,ts,tsx}',
supportFile: 'spec/cypress/support/index.js',
},
Expand Down
Binary file modified docs/GTmetrix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/check-your-website.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/lighthouse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/mozilla-observatory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/network.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/web-page-test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module.exports = {
},
testEnvironment: 'jsdom',
testEnvironmentOptions: {
url: 'https://templatus.test/',
url: 'https://templatus-vue.test/',
customExportConditions: ['node', 'node-addons'],
},
snapshotSerializers: ['<rootDir>/node_modules/jest-serializer-vue'],
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default defineConfig({
},
server: {
hmr: {
host: 'vite.templatus.test',
host: 'vite.templatus-vue.test',
clientPort: 443,
},
},
Expand Down

0 comments on commit 6d729d5

Please sign in to comment.