Commit c58366b
committed
docs: demo-1 Step 3 env path + stale gitignore claim (mzdc-4mv)
Two concrete bugs surfaced by novice-test v3:
1. Step 3 'cp .env.example .env' points at the wrong path. The
reader is inside apps/humor/client/ after Step 2's 'cd
mezo-hack/apps/humor/client'. The .env.example file lives one
directory up at apps/humor/.env.example (shared between the
server and client subdirs), not inside apps/humor/client/.
Old command fails with 'cp: .env.example: No such file or
directory'. Fixed to 'cp ../.env.example .env', with an
explanatory sentence about where the template actually lives.
2. The 'repo's .gitignore already excludes .env' claim was stale.
vativ/mezo-hack has NO .gitignore at any level (root, apps/humor,
apps/humor/client — all 404 on GitHub). The reader creating a
.env with a private key was NOT protected from an accidental
'git add .' or 'git add .env'. Replaced the false reassurance
with a caution Aside telling the reader to create a .gitignore
themselves before any commit ('echo ".env" > .gitignore').
Also updated the matching bullet in the Security section so the
two don't drift apart.
Verified against the live humor repo:
- gh api repos/vativ/mezo-hack/contents/apps/humor confirms
.env.example (file), client/ (dir), server/ (dir). No .env.example
inside client/.
- urlopen of /.gitignore, /apps/humor/.gitignore, and
/apps/humor/client/.gitignore all return 404.1 parent 94421aa commit c58366b
1 file changed
Lines changed: 26 additions & 11 deletions
Lines changed: 26 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
131 | 134 | | |
132 | | - | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
140 | 143 | | |
141 | 144 | | |
142 | 145 | | |
143 | | - | |
| 146 | + | |
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
147 | | - | |
148 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
149 | 163 | | |
150 | 164 | | |
151 | 165 | | |
| |||
239 | 253 | | |
240 | 254 | | |
241 | 255 | | |
242 | | - | |
243 | | - | |
244 | | - | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
245 | 260 | | |
246 | 261 | | |
247 | 262 | | |
| |||
0 commit comments