Update install instructions to match new setup command

This commit is contained in:
rijkvanzanten
2020-10-08 11:28:16 -04:00
parent bd52c26994
commit 46e19b7cb0

View File

@@ -76,16 +76,10 @@ git checkout -b YOUR-BRANCH-NAME
```bash
npm install
npm run setup
```
### 5. Install the API dependencies
```bash
cd api
npm install
```
### 6. Setup the Database & Env File
### 5. Setup the Database & Env File
For this step, you'll need to already have a SQL database up-and-running, otherwise you can only use the SQLite driver, which will create the database for you. Run the following command from within the `/api` directory.
@@ -93,16 +87,15 @@ For this step, you'll need to already have a SQL database up-and-running, otherw
./cli.js init
```
### 7. Start the development server
### 6. Start the development server
Run the following command from the root directory.
```bash
cd ..
npm run dev
```
### 8. Make your fixes/changes
### 7. Make your fixes/changes
At this point you are ready to start working on Directus! Before diving in however, it's worth reading through our docs on [submitting a pull-request](#Submitting-a-Pull-Request).