The only dependencies of the framework are Node.js and npm.
Ensure your versions of those tools match the following criteria:
- Node.js >= 8.0.0
- npm >= 3.0.0
- git
AdonisJs CLI is a command line tool to help you install AdonisJs.
Install it globally via npm like so:
npm i -g @adonisjs/cli
- clone the repo and then run
npm install
. - copy
.env.example
to.env
- create database and update .env file
Run the following command to run startup migrations.
adonis migration:run
Run the following command to seed Inital data.
adonis seed
adonis serve --dev