Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL Error when launching #1

Closed
johnmalek312 opened this issue Apr 8, 2023 · 1 comment
Closed

SQL Error when launching #1

johnmalek312 opened this issue Apr 8, 2023 · 1 comment

Comments

@johnmalek312
Copy link

File "C:\Users\pixel\Desktop\tron-shkeeper-master\app\db.py", line 60, in init_app
init_db(app)
File "C:\Users\pixel\Desktop\tron-shkeeper-master\app\db.py", line 45, in init_db
db = get_db()
File "C:\Users\pixel\Desktop\tron-shkeeper-master\app\db.py", line 13, in get_db
g.db = sqlite3.connect(
sqlite3.OperationalError: unable to open database file

@dmytro-samoylenko
Copy link
Member

Hello,

tron-shkeeper is a part as of shkeeper.io project and it should be deployed on kubernetes. Please see install guide : https://shkeeper.io/kb/start-to-work/documentation-on-launching and https://shkeeper.io/kb/start-to-work/set-up-shkeeper-on-ks

Short version is:

You can install shkeeper from helm if you already have a k8s cluster:

helm repo add vsys-host https://vsys-host.github.io/helm-charts
helm install my-shkeeper vsys-host/shkeeper

If you'd like to test it on local machine or VPS/Dedicated, here is how you can do it:

  1. Get a VPS. Recommended plan is VS-Incredible with Ubuntu 20 LTS.

  2. SSH to VPS as root.

  3. Install k3s:

    curl -sfL https://get.k3s.io | sh -

  4. Link kube config:

    mkdir /root/.kube && ln -s /etc/rancher/k3s/k3s.yaml /root/.kube/config

  5. Install helm:

    curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash

  6. Install shkeeper chart

helm repo add vsys-host https://vsys-host.github.io/helm-charts
helm install my-shkeeper vsys-host/shkeeper

  1. Watch pods being created: kubectl get pods -n shkeeper

  2. Login: http://:5000/

We can help you to setup, configure and integrate Shkeeper as payment system for your site. Check our offer here: https://vsys.host/shkeeper

@vsyshost vsyshost closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants