legacyver 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/.env +0 -1
- package/.env.example +0 -17
- package/temp_credentials/README.md +0 -61
- package/temp_credentials/db-credentials.txt +0 -6
- package/temp_credentials/domain.txt +0 -1
- package/temp_credentials/kubeconfig.yaml +0 -18
- package/temp_credentials/kubernetes-credentials.txt +0 -2
package/package.json
CHANGED
package/.env
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
GROQ_API_KEY = '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'
|
package/.env.example
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Legacyver Environment Variables
|
|
2
|
-
# Copy this file to .env and fill in your API keys
|
|
3
|
-
|
|
4
|
-
# Groq API Key (required for groq provider - free tier available at https://console.groq.com)
|
|
5
|
-
GROQ_API_KEY=your_groq_api_key_here
|
|
6
|
-
|
|
7
|
-
# Ollama API URL (optional, defaults to http://localhost:11434)
|
|
8
|
-
# OLLAMA_BASE_URL=http://localhost:11434
|
|
9
|
-
|
|
10
|
-
# OpenRouter API Key (optional, for openrouter provider)
|
|
11
|
-
# OPENROUTER_API_KEY=your_openrouter_key_here
|
|
12
|
-
|
|
13
|
-
# Gemini API Key (optional, for gemini provider)
|
|
14
|
-
# GEMINI_API_KEY=your_gemini_key_here
|
|
15
|
-
|
|
16
|
-
# Kimi API Key (optional, for kimi provider)
|
|
17
|
-
# KIMI_API_KEY=your_kimi_key_here
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# Team Infrastructure Usage Guide
|
|
2
|
-
|
|
3
|
-
Welcome to your team infrastructure folder! Here’s how to use the files provided:
|
|
4
|
-
|
|
5
|
-
## 1. `domain.txt`
|
|
6
|
-
|
|
7
|
-
- This file contains your public application domain in the format:
|
|
8
|
-
|
|
9
|
-
`https://<team-name>.hackathon.sev-2.com`
|
|
10
|
-
|
|
11
|
-
- This domain will be configured in the Kubernetes ingress, so your deployed app will be accessible at this address.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## 2. `db-credentials.txt`
|
|
15
|
-
|
|
16
|
-
- This file contains your team's PostgreSQL database username, password, and database name.
|
|
17
|
-
- You can find it in your team folder: `db-credentials.txt`.
|
|
18
|
-
- Example content:
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
rdms = "PostgreSQL"
|
|
22
|
-
host = "localhost"
|
|
23
|
-
port = 5432
|
|
24
|
-
username = "your_team_user"
|
|
25
|
-
password = "your_team_password"
|
|
26
|
-
database = "your_team_db"
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
- Use these credentials to connect your app or a database client to your team's schema.
|
|
30
|
-
|
|
31
|
-
## 3. `kubeconfig.yaml`
|
|
32
|
-
|
|
33
|
-
- This file allows you to connect to your team’s Kubernetes namespace/cluster.
|
|
34
|
-
- Usage example:
|
|
35
|
-
|
|
36
|
-
```sh
|
|
37
|
-
kubectl --kubeconfig=./kubeconfig.yaml -n <team-name> get pods
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
- You can use this file with `kubectl` or any Kubernetes-compatible tool.
|
|
41
|
-
|
|
42
|
-
## Deployment Steps
|
|
43
|
-
|
|
44
|
-
1. Dockerize your app
|
|
45
|
-
2. Push your image to your container registry (e.g., Docker Hub).
|
|
46
|
-
3. Deploy your application as usual (e.g., with `kubectl apply -f ...`).
|
|
47
|
-
4. Ensure your app’s ingress resource uses the domain from `domain.txt`.
|
|
48
|
-
5. Access your app at the public URL after deployment.
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
If you have questions, contact the hackathon team.
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## Useful Links
|
|
58
|
-
|
|
59
|
-
- [Kubernetes for Beginners (FreeCodeCamp)](https://www.freecodecamp.org/news/the-kubernetes-handbook/)
|
|
60
|
-
- [kubectl Cheat Sheet (Kubernetes Official)](https://kubernetes.io/docs/reference/kubectl/cheatsheet/)
|
|
61
|
-
- [Kubernetes Ingress Guide (Solo.io)](https://www.solo.io/topics/api-gateway/kubernetes-ingress)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
https://weci-holic.hackathon.sev-2.com
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
apiVersion: v1
|
|
2
|
-
kind: Config
|
|
3
|
-
clusters:
|
|
4
|
-
- name: local
|
|
5
|
-
cluster:
|
|
6
|
-
server: "https://103.185.52.45:6443"
|
|
7
|
-
certificate-authority-data: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJkekNDQVIyZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWpNU0V3SHdZRFZRUUREQmhyTTNNdGMyVnkKZG1WeUxXTmhRREUzTnpFek9UQTRNRFF3SGhjTk1qWXdNakU0TURVd01EQTBXaGNOTXpZd01qRTJNRFV3TURBMApXakFqTVNFd0h3WURWUVFEREJock0zTXRjMlZ5ZG1WeUxXTmhRREUzTnpFek9UQTRNRFF3V1RBVEJnY3Foa2pPClBRSUJCZ2dxaGtqT1BRTUJCd05DQUFTckpZTUNCdG9kU2lGZ2k1bkJ0YnNRaE4wcTRnSmRJQ2lzeGRwN2FGR00KcTVaWk5iQXpLbjNrd05hU2JmZ2sxL2xUQWFIWnFSUlI0czdqaEFIclhUMjZvMEl3UURBT0JnTlZIUThCQWY4RQpCQU1DQXFRd0R3WURWUjBUQVFIL0JBVXdBd0VCL3pBZEJnTlZIUTRFRmdRVXdHdVk4YVZ2QzVURDZnaUdFQlNTCmRrK2loU2t3Q2dZSUtvWkl6ajBFQXdJRFNBQXdSUUlnYld1Y1NkQUVsZ3orcmp2Z1hrU0hXTTRSQnlrQVo4VjQKWDBlTjhYZzdJMmNDSVFDZWRtR2pVMzVQaUtheVFnQS9NWHJMd2ZyL1pBeUU3eUJzWHo2bGN5VFZKZz09Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K"
|
|
8
|
-
contexts:
|
|
9
|
-
- name: weci-holic
|
|
10
|
-
context:
|
|
11
|
-
cluster: local
|
|
12
|
-
namespace: weci-holic
|
|
13
|
-
user: weci-holic-sa
|
|
14
|
-
current-context: weci-holic
|
|
15
|
-
users:
|
|
16
|
-
- name: weci-holic-sa
|
|
17
|
-
user:
|
|
18
|
-
token: eyJhbGciOiJSUzI1NiIsImtpZCI6IlFteFl2cGk1RkF5TEFkdDJYSC05UnVmUGJhYXJCU0pBNjNEcUZxcEtsdFUifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJ3ZWNpLWhvbGljIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6IndlY2ktaG9saWMtc2EtdG9rZW4iLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC5uYW1lIjoid2VjaS1ob2xpYy1zYSIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50LnVpZCI6IjhlNjY0ZmQyLWNkNTYtNGEyNi1iNjE5LWRjYzg1Y2Y2ZWFjMiIsInN1YiI6InN5c3RlbTpzZXJ2aWNlYWNjb3VudDp3ZWNpLWhvbGljOndlY2ktaG9saWMtc2EifQ.jlBrE-ajb4CCj2244Kl-B-5jXikmNOh1kwbnMKttZFE8OJSi9xUEc1x6oQni1P83p5pkbqvreZpN8FtA-_YiMJpyMkjInWogfBc7TVvymJ0F0KQ-Ybxu2ibxkQvOOlNLuctCq4NbCm0oQaH3iBlvsFMpKuZJnogDwEbc6fompYrsxdXGh4F-zoh91mGiSsc7vyLfNJrKQvkivoOoaVwP2Y9xIZUnXMiTCExLUo1DthbRVN4PMPiCytJ6Tvg4LSMruu9-nW2be1hCgTV5IffB4hlhIgaWwCpBzygiWM4--Yg0tS-lejbquehDhVTWMkeOoZqzRKnMdU5iVyxBGB0pOA
|