Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.git
.gitignore

node_modules

.env

dist
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Home Library Service

## Steps to run for review

| Step | Command |
| ---- | -------------------------------------------- |
| 1 | `git clone {repository URL}` |
| 2 | `cd home-library-service` |
| 3 | `git checkout dev` |
| 4 | `npm install` with nodejs 14v |
| 5 | copy `.env.example` and rename it to `.env` |
| 6 | `docker-compose up -d --build` |
| 7 | `npx prisma migrate dev` |
| 8 | lunch `npm run start:dev`, `npm run test` in different terminals|


## Prerequisites

- Git - [Download & Install Git](https://git-scm.com/downloads).
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
postgres:
build: ./
build: ./prisma/
restart: always
ports:
- '5434:5432'
Expand Down
File renamed without changes.