关于新版本cube.js 集成preosto 的一个说明

实际上cubejs cli 是可以使用的,只是官方文档对于dbtype 说明的问题
使用如下命令我们可以创建prestodb 的基本项目

 
cubejs create -d prestodb mydemo
 

效果

- Creating project structure
- Installing server dependencies
npm WARN deprecated joi@14.3.1: This module has moved and is now available at @hapi/joi. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
> core-js@2.6.9 postinstall /Users/dalong/mylearning/cubejs-project/mydemo/node_modules/core-js
> node scripts/postinstall || echo "ignore"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
npm notice created a lockfile as package-lock.json. You should commit this file.
+ @cubejs-backend/server@0.10.16
added 177 packages from 188 contributors and audited 403 packages in 9.446s
found 0 vulnerabilities
- Installing DB driver dependencies
+ @cubejs-backend/prestodb-driver@0.10.16
added 4 packages from 12 contributors and audited 413 packages in 2.664s
found 0 vulnerabilities
- Writing files from template
- mydemo app has been created 🎉
📊 Next step: run dev server
     $ cd mydemo
     $ npm run dev
 
 

posted on   荣锋亮  阅读(902)  评论(0编辑  收藏  举报

编辑推荐:
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2018-07-24 nodejs json-t 基本测试
2018-07-24 json-patch 了解
2015-07-24 A javascript library providing cross-browser, cross-site messaging/method invocation. http://easyxdm.net

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示