33SuperStack uses Docker, so make sure [ Docker is
44installed] ( https://docs.docker.com/get-docker/ ) before you begin.
55
6- ## 1. Clone SuperStack
6+ ## 1. Get SuperStack
7+
8+ ### Option 1: Use the Template (Recommended)
9+
10+ The easiest way to get started:
11+
12+ 1 . Click [ Use this
13+ template] ( https://github.com/explodinglabs/superstack/generate ) on GitHub.
14+ 2 . Create a new repository (e.g. ` myapp ` ) from the template.
15+ 3 . Clone it to your machine:
716
817``` sh
9- git clone https://github.com/explodinglabs/superstack myapp
18+ git clone https://github.com/yourname/ myapp.git
1019cd myapp
1120```
1221
13- <details >
14- <summary >
15- Recommended: Change the clone to point to your own hosted repository.
16- </summary >
22+ ### Option 2: Clone and Track Upstream (Advanced)
1723
18- Rename "origin" to " upstream" :
24+ If you want to keep SuperStack’s Git history and pull upstream changes later :
1925
2026``` sh
27+ git clone https://github.com/explodinglabs/superstack.git myapp
28+ cd myapp
2129git remote rename origin upstream
30+ git remote add origin https://github.com/yourname/myapp
2231```
2332
24- This way you can still upgrade to a more recent SuperStack with:
33+ You can now pull upstream changes with:
2534
2635``` sh
2736git pull upstream main
2837```
2938
30- Add your own code repository:
31-
32- ``` sh
33- git remote add origin https://github.com/yourname/myapp
34- ```
35-
36- Now you can pull/push to your own repo as normal:
37-
38- <h3 >Why not just fork SuperStack?</h3 >
39-
40- Because you can't make a fork private.
41-
42- <h3 >Why not make SuperStack a template repo?</h3 >
43-
44- Because then you can't pull from upstream SuperStack.
45-
46- </details >
47-
4839## 2. Configure Environment Variables
4940
5041Copy the example file:
@@ -53,8 +44,8 @@ Copy the example file:
5344cp example.env .env
5445```
5546
56- > ⚠️ The ` .env ` file is for local development only, don 't write secrets to a
57- > file on other environments .
47+ > ⚠️ ** The .env file is for local development only. ** Don 't store real secrets
48+ > in production — use CI/CD environment variables or a secrets manager .
5849
5950## 3. Start the Stack
6051
0 commit comments