Spaces:
Running
Running
update readme deployment wise
Browse files
README.md
CHANGED
@@ -203,6 +203,37 @@ ai_dungeon_game/
|
|
203 |
- Hugging Face API key
|
204 |
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
207 |
|
208 |
This project showcases practical implementation of AI/ML in interactive entertainment,
|
|
|
203 |
- Hugging Face API key
|
204 |
|
205 |
|
206 |
+
## Deployment Options
|
207 |
+
|
208 |
+
### Local Docker Deployment
|
209 |
+
```bash
|
210 |
+
# Build and run with Docker
|
211 |
+
docker-compose --env-file .env up --build
|
212 |
+
```
|
213 |
+
|
214 |
+
### Hugging Face Spaces Deployment
|
215 |
+
1. Fork repository
|
216 |
+
2. Connect to Hugging Face Spaces
|
217 |
+
3. Deploy through GitHub Actions
|
218 |
+
|
219 |
+
### AWS Deployment
|
220 |
+
|
221 |
+
1. Push to ECR:
|
222 |
+
```bash
|
223 |
+
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com
|
224 |
+
docker build -t ai-dungeon .
|
225 |
+
docker tag ai-dungeon:latest $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ai-dungeon:latest
|
226 |
+
docker push $AWS_ACCOUNT_ID.dkr.ecr.us-east-1.amazonaws.com/ai-dungeon:latest
|
227 |
+
```
|
228 |
+
|
229 |
+
2. Deploy to ECS/EKS
|
230 |
+
|
231 |
+
|
232 |
+
### Kubernetes Deployment
|
233 |
+
|
234 |
+
```bash
|
235 |
+
kubectl apply -f kubernetes/
|
236 |
+
```
|
237 |
|
238 |
|
239 |
This project showcases practical implementation of AI/ML in interactive entertainment,
|