From 28fcd49ae79d0e643a98b4a08f70a58e2df17c05 Mon Sep 17 00:00:00 2001 From: yubintw Date: Wed, 27 Mar 2024 00:17:52 +0800 Subject: [PATCH] docs: update README.md with development instructions --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d04277b..f649ba1 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,17 @@ cp .env.sample .env ### Development -run a mongo container +Run a mongo container ``` docker run -d -p 27017:27017 mongo ``` -start development mode +Install dependencies +``` +npm install +``` + +Start development mode ``` npm run dev ``` @@ -35,12 +40,20 @@ React (by vite) ### Development -start development mode +Install dependencies +``` +npm install +``` + +Start development mode ``` cd frontend npm run dev ``` +Visit +http://localhost:5173 + ### Run cypress test ```