Generated Computers
Locals: an Apple Silicon engine that runs local LLMs up to 3x faster. A product of Generated Computers.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Set up custom DEMOs and PoCs with ScyllaDB in the cloud
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗This repository contains Terraform and Ansible based projects to help you set up DEMOs and POCs with ScyllaDB in a cloud environment.
Currently supported DEMOs:
Clone the repository
git clone https://github.com/scylladb/1m-ops-demo.git
cd 1m-ops-demo/
Make sure AWS CLI is configured properly, and know the location of the credentials file (e.g. ~/.aws/credentials)
Edit config.json
{
"aws_creds_file": "/home/user/.aws/credentials",
"aws_creds_profile": "default",
"region": "us-east-1",
"scylla_cloud_token": "API-TOKEN",
"running_in_docker": true
}
aws_creds_file: the location (absolute path) of your AWS credentials fileaws_creds_profile: the profile to use from that credentials fileregion: AWS region you want to use for the demoscylla_cloud_token: You can generate an API token in ScyllaDB Cloudrunning_in_docker: Normally this should be trueRun the web app (by default, it uses port 5000)
./build_and_run.sh
This will spin up a Docker container and run the web app on the 5000 port. You can stop the container with docker stop scylla-demo
Open DEMO UI application
Go to http://0.0.0.0:5000
Select a demo you want to try (this will run terraform init under the hood)
(Optional) Configure cluster size and workload settings on the left side
Hit APPLY (this runs terraform apply)
Keep an eye on the console output to see when Terraform finishes
Click on the different dashboard tabs to monitor the cluster.
If you are done, don't forget to run DESTROY to remove infrastructure elements and avoid unnecessary costs.
terraform, you can always access it through the container's shell (keep in mind, that you need to change to a directory that contains the TF files):
docker exec -it scylla-demo sh
cd <demo-folder>
terraform apply from within the container:
terraform apply -var-file=user.tfvars.json -auto-approve
terraform destroy from within the container:
terraform destroy -var-file=user.tfvars.json -auto-approve
build_and_run.sh script again.DESTROY button, fix the problem, then run build_and_run.sh again orterraform apply -var-file=user.tfvars.json -auto-approveapk add <package-name> (the image is based on Alpine)Requirements:
npm install -g node@22 or nvm install 22)virtualenv env && source env/bin/activate
pip install -r reqiurements.txt
python app.py
cd frontend
npm install
npm run dev
config.json:
{
"aws_creds_file": "/home/user/.aws/credentials",
"aws_creds_profile": "default",
"region": "us-east-1",
"scylla_cloud_token": "API-TOKEN",
"running_in_docker": false
}
If you are running the app locally for development purposes, make sure to set running_in_docker to false.