Yuri Yasui commited on
Commit
5eb4522
2 Parent(s): d9b3da0 b806ca3

Merge branch 'develop' into feature/s3

Browse files
Files changed (2) hide show
  1. README.md +10 -6
  2. makefile +3 -1
README.md CHANGED
@@ -1,6 +1,6 @@
1
  ---
2
- title: Bankyo Demo
3
- emoji: 🐢
4
  colorFrom: gray
5
  colorTo: green
6
  sdk: docker
@@ -19,6 +19,7 @@ license: other
19
  ・OSはmac
20
 
21
  ## 1. .env.exampleを参考に.envを作成し、OpenAIとPINECONE、AWS_ACCESS_KEY_ID、AWS_SECRET_ACCESS_KEYのAPIキーを設定
 
22
  ```
23
  OPENAI_API_KEY =
24
  PINECONE_API_KEY =
@@ -30,14 +31,17 @@ AWS_SECRET_ACCESS_KEY =
30
  [PINECONE](https://www.notion.so/equesai/API-61268f5a9218495ca96ee0bb176fa13a?pvs=4)
31
  [AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY](https://www.notion.so/equesai/API-61268f5a9218495ca96ee0bb176fa13a?pvs=4)
32
 
33
- ## 2. 仮想環境を作成・プレコミットの導入
34
  `pipenv install -r ./requirements.txt`
 
 
 
35
  `pre-commit install`
36
 
37
- ## 3. 仮想環境に入る
38
- `pipenv shell`
39
 
40
- ## 4. コンテナを立ち上げる
41
  `make up`
42
 
43
  # TODO
 
1
  ---
2
+ title: Bankyo Demo V2
3
+ emoji: 🐳
4
  colorFrom: gray
5
  colorTo: green
6
  sdk: docker
 
19
  ・OSはmac
20
 
21
  ## 1. .env.exampleを参考に.envを作成し、OpenAIとPINECONE、AWS_ACCESS_KEY_ID、AWS_SECRET_ACCESS_KEYのAPIキーを設定
22
+
23
  ```
24
  OPENAI_API_KEY =
25
  PINECONE_API_KEY =
 
31
  [PINECONE](https://www.notion.so/equesai/API-61268f5a9218495ca96ee0bb176fa13a?pvs=4)
32
  [AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY](https://www.notion.so/equesai/API-61268f5a9218495ca96ee0bb176fa13a?pvs=4)
33
 
34
+ ## 2. 仮想環境を作成し、仮想環境に入る
35
  `pipenv install -r ./requirements.txt`
36
+ `pipenv shell`
37
+
38
+ ## 3. プレコミットの導入
39
  `pre-commit install`
40
 
41
+ ## 4. logsフォルダを作成
42
+ `mkdir logs`
43
 
44
+ ## 5. コンテナを立ち上げる
45
  `make up`
46
 
47
  # TODO
makefile CHANGED
@@ -1,9 +1,11 @@
1
- .PHONY: up down restart logs enter
2
 
3
  up:
4
  docker-compose up -d
5
  down:
6
  docker-compose down
 
 
7
  restart:
8
  make down
9
  make up
 
1
+ .PHONY: up down restart logs enter build
2
 
3
  up:
4
  docker-compose up -d
5
  down:
6
  docker-compose down
7
+ build:
8
+ docker-compose build --no-cache
9
  restart:
10
  make down
11
  make up