-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add project setup guide to README.md
- Loading branch information
Showing
1 changed file
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
``` |