beginner-friendly-haskell-for-web-development
A book about real world web development in beginner friendly Haskell
파일 탐색기
최종 버전 다운로드 (.zip)- Main.hs
- Dockerfile
- Dockerfile
- 20180708_create_user_table.sql
- Strings.hs
- User.hs
- Client.hs
- HttpClient.hs
- Connect.hs
- User.hs
- ErrorMessage.hs
- Handler.hs
- UnknownException.hs
- UserError.hs
- Ping.hs
- User.hs
- Logging.hs
- Headers.hs
- Routing.hs
- Server.hs
- Log.hs
- CreateUser.hs
- Pong.hs
- User.hs
- Config.hs
- JSON.hs
- SimpleService.hs
- create_user.json
- UserSpec.hs
- UserSpec.hs
- Setup.hs
- CreateUserSpec.hs
- Main.hs
- Spec.hs
- .env_example
- .env_test
- .gitignore
- ChangeLog.md
- docker-compose.yaml
- Dockerfile
- entrypoint.sh
- howtoinstall.md
- LICENSE
- Makefile
- package.yaml
- README.md
- Setup.hs
- stack.yaml
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/zhangchiqing/beginner-friendly-haskell-for-web-development
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd beginner-friendly-haskell-for-web-development
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose -f a-simple-http-service/docker-compose.yaml up -d --build
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
cd a-simple-http-service
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
