Joshua Sundance Bailey
commited on
Commit
·
917e947
1
Parent(s):
a95f086
typo
Browse files- README.md +2 -2
- kubernetes/deploy.sh +2 -2
README.md
CHANGED
@@ -84,14 +84,14 @@ or
|
|
84 |
|
85 |
or
|
86 |
|
87 |
-
`docker compose up --env-file env`
|
88 |
|
89 |
4. Open http://localhost:7860 in your browser
|
90 |
|
91 |
## Kubernetes
|
92 |
1. Clone the repo. Navigate to cloned repo directory
|
93 |
2. Create a `.env` file based on `.env-example`
|
94 |
-
3. Run
|
95 |
4. Get the IP address for your new service: `kubectl get service langchain-streamlit-demo`
|
96 |
|
97 |
# Links
|
|
|
84 |
|
85 |
or
|
86 |
|
87 |
+
`docker compose up --env-file .env`
|
88 |
|
89 |
4. Open http://localhost:7860 in your browser
|
90 |
|
91 |
## Kubernetes
|
92 |
1. Clone the repo. Navigate to cloned repo directory
|
93 |
2. Create a `.env` file based on `.env-example`
|
94 |
+
3. Run bash script: `/bin/bash ./kubernetes/deploy.sh`
|
95 |
4. Get the IP address for your new service: `kubectl get service langchain-streamlit-demo`
|
96 |
|
97 |
# Links
|
kubernetes/deploy.sh
CHANGED
@@ -12,8 +12,8 @@ else
|
|
12 |
echo "Secret 'langchain-streamlit-demo-secret' does not exist. Creating."
|
13 |
fi
|
14 |
|
15 |
-
kubectl create secret generic langchain-streamlit-demo-secret --from-env-file
|
16 |
|
17 |
|
18 |
# Deploy to Kubernetes
|
19 |
-
kubectl apply -f resources.yaml
|
|
|
12 |
echo "Secret 'langchain-streamlit-demo-secret' does not exist. Creating."
|
13 |
fi
|
14 |
|
15 |
+
kubectl create secret generic langchain-streamlit-demo-secret --from-env-file=.env
|
16 |
|
17 |
|
18 |
# Deploy to Kubernetes
|
19 |
+
kubectl apply -f kubernetes/resources.yaml
|