Skip to content

Latest commit

 

History

History
77 lines (50 loc) · 941 Bytes

development.md

File metadata and controls

77 lines (50 loc) · 941 Bytes

💻 Development

Clone the repository

$ git clone https://github.com/wajeht/notify.git

Copy .env.example to .env and update all the necessary environment variables.

$ cp .env.example .env

Install dependencies

$ npm install

Run development server

$ npm run dev

Run test

$ npm npm test

Format code

$ npm run format

Lint code

$ npm run lint

🐳 Docker

Copy .env.example to .env and update all the necessary environment variables.

$ cp .env.example .env

Run development server

$ docker compose -f docker-compose.dev.yml up

Run test

$ docker compose -f docker-compose.dev.yml exec notify npm run test

Format code

$ docker compose -f docker-compose.dev.yml exec notify npm run format

Lint code

$ docker compose -f docker-compose.dev.yml exec notify npm run lint