odoo-17-docker-compose
Set up Odoo 17 (released 2023) quickly for development/production using Docker Compose.
파일 탐색기
최종 버전 다운로드 (.zip)- readme.md
- logrotate
- odoo.conf
- requirements.txt
- odoo-17-apps-screenshot.png
- odoo-17-product-form.png
- odoo-17-sales-screen.png
- odoo-17-welcome-screenshot.png
- .gitignore
- docker-compose.yml
- entrypoint.sh
- README.md
- run.sh
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/minhng92/odoo-17-docker-compose
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd odoo-17-docker-compose
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
- If you want to start the server with a different port, change **10017** to another value in **docker-compose.yml** inside the parent dir:
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
- To Use a restart policy, i.e. configure the restart policy for a container, change the value related to **restart** key in **docker-compose.yml** file to one of the following:
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
- `on-failure[:max-retries]` = Restart the container if it exits due to an error, which manifests as a non-zero exit code. Optionally, limit the number of times the Docker daemon attempts to restart the container using the :max-retries option.
이 명령어를 터미널에 그대로 입력해 실행하세요.
- `always` = Always restart the container if it stops. If it is manually stopped, it is restarted only when Docker daemon restarts or the container itself is manually restarted. (See the second bullet listed in restart policy details)
이 명령어를 터미널에 그대로 입력해 실행하세요.
- `unless-stopped` = Similar to always, except that when the container is stopped (manually or otherwise), it is not restarted even after Docker daemon restarts.
이 명령어를 터미널에 그대로 입력해 실행하세요.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Python
쉬움사전 준비물
pip install -r etc/requirements.txt
requirements.txt 등에 명시된 파이썬 라이브러리를 설치합니다.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
