- Node.js >=
14.15.4
- npm >=
6.0.0
And if you don't have a database installed, you can use the Docker container.
npm install
cp .env.example .env
This step is necessary only to run tests
mkdir -p tmp
Only if you are going to use the database from the Docker container.
DB_CONNECTION=mysql
MYSQL_HOST=localhost
MYSQL_PORT=3307
MYSQL_USER=adonisjs
MYSQL_PASSWORD=secret
MYSQL_DB_NAME=adonisjs
MYSQL_ALLOW_EMPTY_PASSWORD=true
docker-compose build && docker-compose up -d
node ace migrations:run
node ace serve --watch