Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.2 KB

installing-and-running.md

File metadata and controls

59 lines (36 loc) · 1.2 KB

Installation

AdonisJS Boilerplate supports LucidORM for working with databases. By default, TypeORM uses PostgreSQL as the main database.

--

Table of Contents

Comfortable development (PostgreSQL)

  1. Clone repository

    git clone --depth 1 https://github.com/Tagada216/adonisjs-boilerplate.git my-app
  2. Go to folder, and copy .env.example as .env.

    cd my-app/
    cp .env.example .env
  3. Modify and add the corresponding environment variables for your application context

  4. Run additional container:

docker compose up -d postgres
  1. Install dependency
npm install
  1. Run app configuration

    Adonis work with ace command you create and make migration and other

node ace migration:run
  1. Run app in dev mode
npm run dev
  1. Your server was open on http://localhost:3333

Links