Skip to content

Commit

Permalink
☸ Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
-ˏˋ Maple ˊˎ committed Aug 22, 2023
1 parent 7fde641 commit e4fb37c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ to invite the bot, use the link printed in the console
[Direct deploy](https://github.com/Kalitsune/open-discord-translator/blob/main/open-discord-translator.yml) (you'll still need to setup some environment variables for it to work)
```bash
kubectl apply -f https://raw.githubusercontent.com/Kalitsune/open-discord-translator/main/open-discord-translator.yml
kubectl edit deployment open-discord-translator
kubectl edit deployment odt-deployment
```

Using the [kubernetes deployment file](open-discord-translator.yaml) provided in this repository
Expand All @@ -96,10 +96,10 @@ kubectl apply -f open-discord-translator.yaml
```

### Using nodejs
clone the repository and install the dependencies
grab the latest release on [github](https://github.com/Kalitsune/open-discord-translator/releases/latest) then uzip it

install the dependencies
```bash
git clone https://github.com/Kalitsune/open-discord-translator
cd open-discord-translator
npm install --production
```

Expand Down
18 changes: 9 additions & 9 deletions open-discord-translator.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: odc-sqlite-pvc
name: odt-pvc
spec:
accessModes:
- ReadWriteOnce
Expand All @@ -12,19 +12,19 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: odc-deployment
name: odt-deployment
spec:
replicas: 1
selector:
matchLabels:
app: odc-deployment
app: odt-deployment
template:
metadata:
labels:
app: odc-deployment
app: odt-deployment
spec:
containers:
- name: odc-deployment
- name: odt-deployment
image: ghcr.io/kalitsune/open-discord-translator:latest
env:
- name: TOKEN
Expand Down Expand Up @@ -57,9 +57,9 @@ spec:
memory: "10Mi"
cpu: "50m"
volumeMounts:
- name: sqlite-volume
mountPath: /app/database.sqlite
- name: odt-volume
mountPath: /data/
volumes:
- name: sqlite-volume
- name: odt-volume
persistentVolumeClaim:
claimName: odc-sqlite-pvc
claimName: odt-pvc

0 comments on commit e4fb37c

Please sign in to comment.