mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user