You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 251cc14
Browse filesBrowse the repository at this point in the historyBrowse files
> **What this gives you:** a web interface at `https://diseasetranscriptomicslab.github.io/admin/` where anyone with GitHub access can edit site content (news, team members, publications) through forms - no git knowledge or terminal needed. Changes are committed directly to GitHub and deploy automatically.
797
-
798
-
This is optional. The site works fine without it. Set it up when you're ready to let non-technical collaborators edit content.
799
-
800
-
---
801
-
802
-
### Step 1 - Create the GitHub OAuth App
803
-
804
-
GitHub OAuth is what lets Decap log people in using their GitHub account.
805
-
806
-
1. Go to **GitHub → Settings → Developer settings → OAuth Apps → New OAuth App** (direct link: <https://github.com/settings/developers>).
> **Note:** Decap works best when content is stored as Markdown/YAML files. Adapting the current JavaScript-array format (`js/news-data.js`) to file-based content requires a small migration - contact the person who built the site for help with that step.
3. You'll see the content collections. Edit, save - changes commit to the repo and deploy automatically.
884
-
885
-
---
886
-
887
-
### Access control
888
-
889
-
Only GitHub accounts that have **read access to this repository** can log in via Decap. Manage collaborators under **GitHub → Repository → Settings → Collaborators and teams**. There is no separate Decap user list.
890
-
891
-
---
892
-
893
794
## Analytics
894
795
895
796
The site runs **Google Analytics 4**, property Measurement ID **`G-6FLD1GNCMB`**. The Measurement ID is not a secret - it's meant to appear in public page source, and on its own can't be used to read the analytics dashboard or modify the site (only Google accounts granted access to the GA property can view data).
0 commit comments