Turned the analytics tracker off by default in the template.
This commit is contained in:
+6
-2
@@ -194,9 +194,13 @@ Next steps:
|
||||
- $W/Resources/Static/site.webmanifest (name / short_name)
|
||||
2. Set a real database password in a git-ignored $W/.env
|
||||
(the committed .env.local defaults the password to the slug — do NOT ship that).
|
||||
3. Point the git remote at your new repository:
|
||||
3. Analytics ships OFF, and stays off until you opt in. To enable it: point
|
||||
String.Analytics.origin at your own Umami instance (it defaults to the
|
||||
reserved https://analytics.example.com), allow that origin in
|
||||
security.contentSecurityPolicy, then set ANALYTICS_WEBSITE_ID.
|
||||
4. Point the git remote at your new repository:
|
||||
git remote set-url origin <new-repo-url> # or 'git remote add origin ...'
|
||||
4. Build and run:
|
||||
5. Build and run:
|
||||
cd $W && make site-run
|
||||
|
||||
The Persistence package still ships an ExampleRecord / ExampleRepository sample
|
||||
|
||||
Reference in New Issue
Block a user