Go to file
王昆 ea05f91d8a [+] add taro project 2022-06-06 19:17:47 +08:00
.github Release frozen (#6423) 2021-08-06 15:24:23 +05:30
app [+] add taro project 2022-06-06 19:17:47 +08:00
ci Add caching in CodeBuild CI for Docker images 2021-07-22 18:11:00 +05:30
contributions Adds YT Setup Videos to Docs (#5744) 2021-07-09 15:54:34 +05:30
deploy Use CentOS repo for RHEL installation (#6069) 2021-07-22 15:27:34 +05:30
static Update font-size in Readme how-it-works image (#5888) 2021-07-16 23:03:53 +05:30
.all-contributorsrc docs: add aswathkk as a contributor for code (#5490) 2021-06-30 12:51:15 +05:30
.deepsource.toml Create .deepsource.toml (#3593) 2021-03-19 11:40:59 +05:30
.env.example [Feature #3379] Added recaptcha for signup (#4701) 2021-06-08 11:10:11 +05:30
.gitignore [Feature] Grid Widget (#2389) 2021-04-23 11:13:13 +05:30
.imgbotconfig Added imgbot config file (#1655) 2020-11-09 17:52:53 +05:30
API.png [ImgBot] Optimize images (#1513) 2020-11-02 19:44:01 +05:30
CODE_OF_CONDUCT.md Readme (#11) 2020-07-01 16:42:41 +05:30
CONTRIBUTING.md Update CONTRIBUTING.md 2021-01-27 18:07:13 +05:30
IssuesReport.md Feature/hacktoberfest (#841) 2020-09-30 23:23:10 +05:30
LICENSE Update LICENSE 2021-05-27 12:53:55 +05:30
Query.png [ImgBot] Optimize images (#1513) 2020-11-02 19:44:01 +05:30
README.md [!] open-source version 2022-05-31 12:04:33 +08:00
SECURITY.md Creating SECURITY.md for reporting security vulnerabilities 2020-12-12 22:12:49 +05:30
app.json Removing non-required fields from Heroku deployment. (#5978) 2021-07-20 23:30:59 +05:30
appsmith_templates.md Create appsmith_templates.md (#4412) 2021-06-23 19:32:23 +05:30
coverage-summary.json Improve autocomplete sorting (#5798) 2021-07-20 15:32:56 +05:30
heroku.yml Heroku Button implementation (#1721) 2020-11-18 18:53:59 +05:30
install.sh [!] install.sh, fixed template files, optimized editor 2022-03-23 20:14:10 +08:00
office_hours.md chore: Updates contact email 2021-07-20 10:10:03 +01:00

README.md

前端低代码工具base on AppSmith

🎈 启动项目windows

非windows

// 配置 host
127.0.0.1 dev.appsmith.com

// 环境变量
cp .env.example .env

// 启动本地 nginx docker
cd app/client
yarn start-proxy

// 启动前端服务
yarn 
yarn start-win

服务端指南

// .env 环境变量,开发测试 mongo、redis 地址
APPSMITH_MONGODB_URI="mongodb://10.10.13.50:27017/appsmith"
APPSMITH_REDIS_URL="redis://10.10.13.50:63799"

// 使用 IDEA 打开工程
app/server

// 构建 java 服务
mvn clean compile (有依赖更新时执行)
bash ./build.sh -DskipTests

// 启动 java 服务
bash ./scripts/start-dev-server.sh

📦 打包发布

// 前端打包
cd app/client
yarn build-win
docker build -t pageplug-client:demo .
docker tag pageplug-client:demo harbor.cloud2go.cn/cloud2go/pageplug-client:demo
docker push harbor.cloud2go.cn/cloud2go/pageplug-client:demo

// 后端打包
cd app/server
bash ./build.sh -DskipTests
docker build -t pageplug-server:demo .
docker tag pageplug-server:demo harbor.cloud2go.cn/cloud2go/pageplug-server:demo
docker push harbor.cloud2go.cn/cloud2go/pageplug-server:demo

// 重启服务
登录到安装目录下 docker-compose 修改镜像
docker-compose down
docker-compose up -d

🌱 系统安装脚本

install.sh

// 脚本里替换默认镜像地址,安装完成后按需修改项目目录里的 docker-compose.yml 即可
sed -i 's/index\.docker\.io\/appsmith\/appsmith-editor/harbor\.cloud2go\.cn\/cloud2go\/pageplug-client:demo/g' docker-compose.yml.sh
sed -i 's/index\.docker\.io\/appsmith\/appsmith-server/harbor\.cloud2go\.cn\/cloud2go\/pageplug-server:demo/g' docker-compose.yml.sh

🌼 小程序环境变量

// 小程序 ID、密钥用于获取小程序码
CLOUDOS_WECHAT_APPID=""
CLOUDOS_WECHAT_SECRET=""