Merge pull request #588 from directus/contributing

Update dev env setup
This commit is contained in:
Rijk van Zanten
2020-10-08 11:28:28 -04:00
committed by GitHub

View File

@@ -76,18 +76,21 @@ git checkout -b YOUR-BRANCH-NAME
```bash
npm install
npm run setup
```
### 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.
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.
```bash
@TODO
./cli.js init
```
### 6. Start the development server
Run the following command from the root directory.
```bash
npm run dev
```