|
347 | 347 | </li> |
348 | 348 |
|
349 | 349 | <li class="md-nav__item"> |
350 | | - <a href="#2-create-environment-file" class="md-nav__link"> |
| 350 | + <a href="#2-start-the-app" class="md-nav__link"> |
351 | 351 | <span class="md-ellipsis"> |
352 | | - 2. Create Environment File |
353 | | - </span> |
354 | | - </a> |
355 | | - |
356 | | -</li> |
357 | | - |
358 | | - <li class="md-nav__item"> |
359 | | - <a href="#3-start-the-app" class="md-nav__link"> |
360 | | - <span class="md-ellipsis"> |
361 | | - 3. Start the App |
| 352 | + 2. Start the App |
362 | 353 | </span> |
363 | 354 | </a> |
364 | 355 |
|
|
461 | 452 | </li> |
462 | 453 |
|
463 | 454 | <li class="md-nav__item"> |
464 | | - <a href="#2-create-environment-file" class="md-nav__link"> |
| 455 | + <a href="#2-start-the-app" class="md-nav__link"> |
465 | 456 | <span class="md-ellipsis"> |
466 | | - 2. Create Environment File |
467 | | - </span> |
468 | | - </a> |
469 | | - |
470 | | -</li> |
471 | | - |
472 | | - <li class="md-nav__item"> |
473 | | - <a href="#3-start-the-app" class="md-nav__link"> |
474 | | - <span class="md-ellipsis"> |
475 | | - 3. Start the App |
| 457 | + 2. Start the App |
476 | 458 | </span> |
477 | 459 | </a> |
478 | 460 |
|
@@ -525,16 +507,7 @@ <h2 id="1-get-superstack">1. Get SuperStack</h2> |
525 | 507 | <div class="highlight"><pre><span></span><code>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/yourname/myapp-backend.git |
526 | 508 | <span class="nb">cd</span><span class="w"> </span>myapp-backend |
527 | 509 | </code></pre></div> |
528 | | -<h2 id="2-create-environment-file">2. Create Environment File</h2> |
529 | | -<p>Copy the example environment file:</p> |
530 | | -<div class="highlight"><pre><span></span><code><span class="nb">cd</span><span class="w"> </span>app |
531 | | -cp<span class="w"> </span>example.env<span class="w"> </span>.env |
532 | | -</code></pre></div> |
533 | | -<p>The <code>.env</code> file is used to set secrets, passwords, keys, etc.</p> |
534 | | -<blockquote> |
535 | | -<p>⚠️ Never store secrets in version control.</p> |
536 | | -</blockquote> |
537 | | -<h2 id="3-start-the-app">3. Start the App</h2> |
| 510 | +<h2 id="2-start-the-app">2. Start the App</h2> |
538 | 511 | <div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>up<span class="w"> </span>-d |
539 | 512 | </code></pre></div> |
540 | 513 | <p>That's it – your backend is ready for development.</p> |
|
0 commit comments