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.