Skip to content

Commit 36f1027

Browse files
committed
2 parents 9cddfe4 + 493b504 commit 36f1027

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

.env-example renamed to .env.example

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# .env
22
ENVIRONMENT=Production
33

4-
# SQL Server Connection
5-
SQL_SERVER=mssql
6-
SQL_DATABASE=Contacts
7-
SQL_USER=sa
8-
SQL_PASSWORD=PasYourPassword123
4+
# PostgreSQL Connection
5+
POSTGRES_HOST=postgres
6+
POSTGRES_PORT=5432
7+
POSTGRES_DB=Contacts
8+
POSTGRES_USER=sa
9+
POSTGRES_PASSWORD=PasYourPassword123
910

1011
# JWT Settings
1112
JWT_SECRET=THIS USED TO SIGN AND VERIFY JWT TOKENS, REPLACE IT WITH YOUR OWN SECRET, IT CAN BE ANY STRING

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ collapse_inactive_chapters: true
6363

6464
# Enable copy code button
6565
enable_copy_code_button: true
66+
67+
ga_tracking: G-Z89Y3Z3K6Z
68+
ga_tracking_anonymize_ip: true

docs/_layouts/default.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
<!DOCTYPE html>
66

77
<html lang="{{ site.lang | default: 'en-US' }}">
8+
<!-- Google tag (gtag.js) -->
9+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-BJBJ6TYVWF"></script>
10+
<script>
11+
window.dataLayer = window.dataLayer || [];
12+
function gtag(){dataLayer.push(arguments);}
13+
gtag('js', new Date());
14+
15+
gtag('config', 'G-BJBJ6TYVWF');
16+
</script>
817
{% include head.html %}
918
<body>
1019
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">

0 commit comments

Comments
 (0)