-
Notifications
You must be signed in to change notification settings - Fork 3
Set Up
Peter Lam edited this page Feb 15, 2019
·
17 revisions
Within the directory /Jasper write the following to install all dependencies:
yarn install
To start the application run
-
yarn start
oradonis serve
if you have Adonis installed
To run test if your code meets coding coventions
- run
yarn lint
-
Download the database file and place it under the
<App root directory>/database
folder. -
Make sure your
.env
has the following lines:
DB_CONNECTION=sqlite
DB_DATABASE=jasper_dev
- Run
adonis migration:run
to generate the tables. - Run
adonis migration:rollback
to purge the tables.
- Download the binaries and the command line tool and place them under
C:\Windows\System32
- Open a command line tool from the
<App root directory>/database
and runsqlite3 jasper_dev.db
- Go to extentions and download "ESLint"
- Type
yarn lint
- For in line use:
// eslint-disable-line
- For the whole file use:
eslint no-use-before-define: 0 */ // --> OFF