File tree 4 files changed +26
-15
lines changed
4 files changed +26
-15
lines changed Original file line number Diff line number Diff line change
1
+ FROM python:3.11-slim
2
+
3
+ RUN apt-get update && apt-get install make
4
+
5
+ WORKDIR /app
6
+
7
+ COPY Pipfile .
8
+ RUN pip install pipenv
9
+ RUN pipenv install
10
+ COPY . .
Original file line number Diff line number Diff line change 1
- setup : # 仮想環境構築
2
- pip install pipenv
3
- pipenv install --dev
4
-
5
- active : # 仮想環境の起動
6
- pipenv shell
7
-
8
- clean-venv : # 仮想環境削除
9
- pipenv --rm
1
+ .PHONY :
2
+ up :
3
+ docker compose up -d
4
+ docker compose exec -it yaylib bash
10
5
11
6
clean-doc :
12
7
rm -rf docs/yaylib.* docs/modules.rst docs/_build/
Original file line number Diff line number Diff line change 61
61
62
62
「yaylib」をインストールするには、以下のコマンドをターミナル上で実行します:
63
63
64
- ``` bash
64
+ ``` shell
65
65
pip install yaylib
66
66
```
67
67
68
68
<br >
69
69
70
70
> [ !TIP]
71
- > 開発バージョンをインストールする場合は 、以下の手順を実行します:
71
+ > 開発環境をインストールする場合は 、以下の手順を実行します:
72
72
73
- ``` bash
73
+ ``` shell
74
74
git clone https://github.com/ekkx/yaylib.git
75
75
76
76
cd yaylib
77
77
78
- make setup
79
-
80
- make active
78
+ make up
81
79
```
82
80
83
81
<!-- 使用例 -->
Original file line number Diff line number Diff line change
1
+ services :
2
+ yaylib :
3
+ container_name : python
4
+ build :
5
+ context : .
6
+ volumes :
7
+ - .:/app
8
+ tty : true
You can’t perform that action at this time.
0 commit comments