From 498a75bd0e47b676d89c40fe13aa2ae3ef7aef0a Mon Sep 17 00:00:00 2001 From: Seheon Yu Date: Fri, 29 Mar 2024 11:25:37 +0900 Subject: [PATCH] Add project setup guide to README.md --- README.md | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index feb96268..66f8145d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,35 @@ # fit-web -f-it web 입니다. +## Project setup + +### Install dependencies + +```sh +yarn +``` + +### If you want to run the development environment + +```sh +docker compose up --build +``` + +or + +```sh +yarn run dev +``` + +### If you want to run the production environment + +```sh +docker build -t fit-web . +docker run -p 3000:3000 fit-web +``` + +or + +```sh +yarn run build +yarn run start +```