CBoard 分析工具选型 · yzhang921/CBoard Wiki · GitHub
- -数据可视化是BI生命周期里面非常重要的一个环节,当前数据可视化的几种常见模式如下:. 商业BI套件 能够提供BI生命周期全套的解决方案,业界比较知名BI套件老牌的有IBM的Cognos、SAP的BO、Oracle的BIEE,以及新生军Tableau、QlikView等等,这些产品前端可视化都做得非常强大,报表设计、Dashboard设计、Report邮件发送、OLAP分析都不在话下.
We provide a docker image build on centos6 with a sample dataset in it.
docker pull peterzhang921/cboard:0.4.1 docker run --rm -itd --name=cboard -p 8026:8080 --privileged=true peterzhang921/cboard:0.4.1 # after docker container is start then attach into it and start tomcat server docker attach cboard /opt/apache-tomcat/bin/startup.sh # wait after server successfully started tail -f /opt/apache-tomcat/logs/catalina.out
# use configuration files in h2 folder, use env parameter then all the files in h2 folder will overwrite same files in resource folder maven clean package -Denv=h2 # build docker image docker build --network=host -t cboard .
Before the start, make sure you have setup environment:
git clone https://github.com/yzhang921/CBoard.git
2 Install metadata of CBoard (take MySQL database as example)
source cboard_demo.sql
source foodmart.sql
-- CREATE DATEBASE cboard; Execute ddl to create metadata table: sql/mysql/mysql.sql
3 Modify metadata connection properties file according to your db environment
CBoard/src/main/resources/config.properties
validationQuery=SELECT 1 jdbc_url=jdbc:mysql://localhost:3306/cboard # set to your metadata db connection url, if you are using demo db, change db name to cboard_demo2 jdbc_username=root # change to the username/password of your db jdbc_password=111111 # Service configuration dataprovider.resultLimit=300000 admin_user_id=1 phantomjs_path=D:/phantomjs-2.1.1-windows/bin/phantomjs.exe # change to the install path of your phantomjs web_port=8026 # web_context= # web context name of your app, can be blank for ROOT deploy # configuration of Mail service mail.smtp.host=127.0.0.1 mail.smtp.port=8825 [email protected] #[email protected] #mail.smtp.password=111111 #mail.smtp.ssl.checkserveridentity=false # Cache Properties if you wanna use redis as cache layer cache.redis.hostName=127.0.0.1 cache.redis.port=6379
4 Comile and package project with Maven
cd root path of CBoard
# Install SQLServer JDBC Driver into your local respository
mvn install:install-file -Dfile=lib/sqljdbc4-4.0.jar -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=4.0 -Dpackaging=jar
mvn clean package
5 Deploy war to Tomcat application
http://_yourserverip_:8080
Default login username and passwor: admin/root123