关于新版本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标签:core,cube,cubejs,preosto,js,dependencies,mydemo,packages 来源: https://www.cnblogs.com/rongfengliang/p/11240109.html