castled 运行试用
2022/1/3 23:09:08
本文主要是介绍castled 运行试用,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
castled 官方直接提供了docker-compose 一键运行
环境运行
- docker-compose
git clone <a href="https://github.com/castledio/castled.git">https://github.com/castledio/castled.git</a>
cd castled
docker-compose up -d
- pg 准备
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=dalong postgres:14.0
- rest api server
docker run -p 80:80 -d kennethreitz/httpbin
- 权限分配
可以参考官方文档
-----------------------------------USER CREATON STARTS-------------------------------------------------------
— Create a new user CASTLED for connecting to postgres DB
CREATE USER CASTLED WITH PASSWORD 'dalongdemoapp';
-----------------------------------USER CREATON ENDS----------------------------------------------------------
-----------------------------------BOOK KEEPING SCHEMA ACCESS STARTS------------------------------------------
-- Create a private bookkeeping schema for storing sync data
CREATE SCHEMA CASTLED;
-- Give the CASTLED user full access to the bookkeeping schema
GRANT ALL ON SCHEMA CASTLED TO CASTLED;
-- Give CASTLED user access to all objects existing n the bookkeeping schema
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA CASTLED TO CASTLED;
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA PUBLIC TO CASTLED;
试用效果
地址 http://localhost:3000
- ui
- 创建pipeline
data warehouse
说明
目前官方云端的以及开源版本基本都是一样的,可以使用了kafka,mysql,redis等中间件,代码还是很值得学习下的
参考资料
https://docs.castled.io/getting-started/Sources/configure-postgres
https://github.com/castledio/castled
这篇关于castled 运行试用的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-05-15PingCAP 黄东旭参与 CCF 秀湖会议,共探开源教育未来
- 2024-05-13PingCAP 戴涛:构建面向未来的金融核心系统
- 2024-05-09flutter3.x_macos桌面os实战
- 2024-05-09Rust中的并发性:Sync 和 Send Traits
- 2024-05-08使用Ollama和OpenWebUI在CPU上玩转Meta Llama3-8B
- 2024-05-08完工标准(DoD)与验收条件(AC)究竟有什么不同?
- 2024-05-084万 star 的 NocoDB 在 sealos 上一键起,轻松把数据库编程智能表格
- 2024-05-08Mac 版Stable Diffusion WebUI的安装
- 2024-05-08解锁CodeGeeX智能问答中3项独有的隐藏技能
- 2024-05-08RAG算法优化+新增代码仓库支持,CodeGeeX的@repo功能效果提升