Add bootstrap step in manual installation (#14177)

* Add bootstrap step in manual installation

I found this bug where you can't start the server before the database is seeded and everything is configured

* Update docs/self-hosted/installation/manual.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
Rafly Maulana
2022-06-29 20:07:49 +07:00
committed by GitHub
parent 313e0b1ee1
commit 75e7fa743f

View File

@@ -35,9 +35,25 @@ We recommend aliasing the `start` script to Directus' start for easier deploymen
npm install directus
```
## 3. Setup a Configuration File
Finally, you'll need to setup your `.env` file, or configure the environment variables through other means, such as
Docker, etc.
**Don't forget to fill your database information before continuing to next step**
See [Environment Variables](/self-hosted/config-options/#general) for all available variables.
## 4. Bootstrap It
```bash
npx directus bootstrap
```
## 5. Start Server
```bash
npm run start
```