First, you need to install the dependencies.
$ npm install -g yarn # install yarn globally
$ yarn # install dependencies
Secondly, you need to create a .env
file and copy the .env.example
file to it.
$ cp .env.example .env # copy the example file to the .env file
Then, you need to run the database and the database migrations.
Make sure you have Docker installed
$ yarn db:start # start the database
$ yarn db:migrate:dev # run the database migrations
Finally, you need to run the server.
$ yarn start:dev # run the server