1. 开发环境搭建

1.1. 下载源码

1.2. MySQL

  1. 卸载conda mysql: conda uninstall mysql
  2. 启动mysql: mysql.server start

1.3. Postgresql

  1. 新建bysj_dev数据库。
  2. 在bysj_dev执行脚本jeecgboot-postgresql17.sql.

1.4. 更新数据源配置

  1. datasource:
     url: jdbc:postgresql://127.0.0.1:5432/bysj_dev?stringtype=unspecified
     username: admin
     password: 
     driver-class-name: org.postgresql.Driver
    
  2. 设置Redis密码:
     password: YourStrongPassword123!
    

    1.5. 启动后端

cd jeecg-module-system/jeecg-system-start
mvn spring-boot:run

1.6. 增加Debug启动

{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "java",
            "name": "JeecgSystemApplication",
            "request": "launch",
            "mainClass": "org.jeecg.JeecgSystemApplication",
            "projectName": "jeecg-system-start",
            "vmArgs": "-Dfile.encoding=UTF-8",
            "env": {
                "JAVA_HOME": "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home"
            },
            "javaExec": "/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java"
        }
    ]
}

1.7. 打包启动jar

mvn install -f "/Users/admin/Code/selfexam/JeecgBoot/jeecg-boot/jeecg-module-system/jeecg-system-start/pom.xml" -P dev

1.8. Box文档

1.9. 创建bysj模块

// 注意: windows下可直接复制执行, Linux/Macos下  ^ 修改成  \

mvn archetype:generate \
   -DgroupId=org.jeecgframework.boot3 \
   -DartifactId=jeecg-module-byzj \
   -Dversion=3.9.0 \
   -DarchetypeGroupId=org.jeecgframework.archetype \
   -DarchetypeArtifactId=jeecg-boot-archetype \
   -DarchetypeVersion=3.0

1.10. Tableau JavaScript API

https://www.tableau.com/zh-tw/developer/learning/tableau-javascript-api

results matching ""

    No results matching ""