mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Merge pull request #588 from directus/contributing
Update dev env setup
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user