Skip to content

Commit

Permalink
docs(instructions): update instructions.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Aug 1, 2017
1 parent 98626f3 commit d7c542c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,21 @@ const aceProviders = [
```

After this running `adonis --help` will list a set of commands under `migration` namespace.

## Environment Variables

The configuration file `config/database.js` references **environment variables** from `.env` file. Make sure to set them accordingly for development and prodiction envorinment.

```
DB_CONNECTION=sqlite
```

When using mysql set following

```
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=
DB_DATABASE=adonis
```

0 comments on commit d7c542c

Please sign in to comment.