Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/q23isline/study_python
Python 勉強用リポジトリ
https://github.com/q23isline/study_python
docker-compose python
Last synced: about 1 month ago
JSON representation
Python 勉強用リポジトリ
- Host: GitHub
- URL: https://github.com/q23isline/study_python
- Owner: q23isline
- License: mit
- Created: 2024-11-16T02:56:46.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-16T10:23:06.000Z (about 1 month ago)
- Last Synced: 2024-11-16T11:19:55.226Z (about 1 month ago)
- Topics: docker-compose, python
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# study_python
[![LICENSE](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE)
[![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=555555&color=007acc&logoColor=007acc)](https://github.dev/q23isline/study_python)[![Python](https://img.shields.io/static/v1?logo=python&label=Python&message=v3&labelColor=555555&color=#3776AB&logoColor=#3776AB)](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 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 ./
```