https://github.com/q23isline/study_python
Python 勉強用リポジトリ
https://github.com/q23isline/study_python
docker-compose github-actions python
Last synced: 2 months ago
JSON representation
Python 勉強用リポジトリ
- Host: GitHub
- URL: https://github.com/q23isline/study_python
- Owner: q23isline
- License: mit
- Created: 2024-11-16T02:56:46.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-11-17T00:54:07.000Z (over 1 year ago)
- Last Synced: 2025-03-10T05:58:16.070Z (over 1 year ago)
- Topics: docker-compose, github-actions, python
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# study_python
[](./LICENSE)
[](https://github.com/q23isline/study_python/actions/workflows/ci.yml)
[](https://github.dev/q23isline/study_python)
[](https://www.python.org/)
Python 勉強用リポジトリ
## 前提
- インストール
- [Windows Subsystem for Linux](https://learn.microsoft.com/ja-jp/windows/wsl/)
- [Git](https://git-scm.com/)
- [Docker Desktop](https://www.docker.com/ja-jp/products/docker-desktop/)
- [Visual Studio Code](https://code.visualstudio.com/)
## はじめにやること
1. Windows Subsystem for Linux 上でプログラムダウンロード
```bash
git clone https://github.com/q23isline/study_python.git
```
2. リポジトリのカレントディレクトリへ移動
```bash
cd study_python
```
3. アプリ立ち上げ
```bash
docker compose build
docker compose up -d
```
## 日常的にやること
### システム起動
```bash
docker compose up -d
```
### システム終了
```bash
docker compose down
```
## 動作確認
```bash
docker compose exec backend python3 shell/send_book_return_reminder_email_shell.py
```
## コード静的解析
```bash
# フォーマッター
docker compose exec backend autopep8 --diff --recursive .
docker compose exec backend black --diff .
# リンター
docker compose exec backend pylint ./
docker compose exec backend flake8
docker compose exec backend mypy ./
```