-
Notifications
You must be signed in to change notification settings - Fork 1.4k
README update for "Install Python dependencies" #416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -82,7 +82,7 @@ OLLAMA_HOST=votre_hote_ollama | |||||
|
|
||||||
| ```bash | ||||||
| # Installer dépendances Python | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # Démarrer le serveur API | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -76,7 +76,7 @@ OPENROUTER_API_KEY=your_openrouter_api_key | |||||
|
|
||||||
| ```bash | ||||||
| # Pythonの依存関係をインストール | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # APIサーバーを起動 | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -67,7 +67,7 @@ OPENROUTER_API_KEY=your_openrouter_api_key | |||||
|
|
||||||
| ```bash | ||||||
| # Python 의존성 설치 | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # API 서버 실행 | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -86,7 +86,7 @@ OLLAMA_HOST=your_ollama_host | |||||
|
|
||||||
| ```bash | ||||||
| # Install Python dependencies | ||||||
| python -m pip install poetry==1.8.2 && poetry install -C api | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # Start the API server | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -73,7 +73,7 @@ OLLAMA_HOST=seu_host_ollama | |||||
|
|
||||||
| ```bash | ||||||
| # Instale as dependências Python | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # Inicie o servidor API | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -81,7 +81,7 @@ OLLAMA_HOST=ваш_ollama_host | |||||
|
|
||||||
| ```bash | ||||||
| # Установка зависимостей | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # Запуск API | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -67,7 +67,7 @@ OPENROUTER_API_KEY=your_openrouter_api_key | |||||
|
|
||||||
| ```bash | ||||||
| # Cài đặt Python dependencies | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # Chạy API server | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -80,7 +80,7 @@ OLLAMA_HOST=your_ollama_host | |||||
|
|
||||||
| ```bash | ||||||
| # 安裝 Python 相依性 | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # 啟動 API 伺服器 | ||||||
| python -m api.main | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -74,7 +74,7 @@ OPENROUTER_API_KEY=your_openrouter_api_key | |||||
|
|
||||||
| ```bash | ||||||
| # 安装Python依赖 | ||||||
| python -m pip install poetry==2.0.1 && poetry install | ||||||
| python -m pip install poetry==2.0.1 && poetry install -C api | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve clarity and avoid potential issues on systems where
Suggested change
|
||||||
|
|
||||||
| # 启动API服务器 | ||||||
| python -m api.main | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve clarity and avoid potential issues on systems where
pythonmight refer to Python 2, it's a good practice to explicitly usepython3in installation commands. This ensures the correct Python version is used, aligning with modern Python development practices.