提交 4ccc73fc 编写于 作者: 6 628739352ad51175a75aca32

优化端口及路径,适配ide

上级 762a527b
time="2022-11-02T16:37:36+08:00" level=warning msg="Can't load env file. open /home/zhoushimin/workspace/github/1024opensource/demo-widget/$(pwd)/.env: no such file or directory"
time="2022-11-02T16:37:36+08:00" level=warning msg="Can't load env file. open /home/zhoushimin/workspace/github/1024opensource/demo-widget/$(pwd)/.env: no such file or directory"
time="2022-11-02T16:37:36+08:00" level=warning msg="Can't load env file. open /home/zhoushimin/workspace/github/1024opensource/demo-widget/$(pwd)/.env: no such file or directory"
time="2022-11-02T16:38:14+08:00" level=warning msg="Can't load env file. open /home/zhoushimin/workspace/github/1024opensource/demo-widget/$(pwd)/.env: no such file or directory"
time="2022-11-02T16:40:07+08:00" level=warning msg="Can't load env file. open /home/zhoushimin/workspace/github/1024opensource/demo-widget/$(pwd)/.env: no such file or directory"
time="2022-11-02T16:41:13+08:00" level=warning msg="Can't load env file. open /home/zhoushimin/workspace/github/1024opensource/demo-widget/$(pwd)/.env: no such file or directory"
# preview.yml
autoOpen: true # 打开工作空间时是否自动开启所有应用的预览
apps:
- port: 5099 # 应用的端口
run: curl -fsSL https://website.yaoapps.com/install.sh | bash && ./start.sh # 应用的启动命令
command: # 使用此命令启动服务,且不执行run
root: ./ # 应用的启动目录
name: YAO低代码演示 # 应用名称
description: YAO低代码演示 # 应用描述
autoOpen: true # 打开工作空间时是否自动开启预览(优先级高于根级 autoOpen
cd demo-widget mkdir -p demo/db
mkdir -p demo/data
mkdir -p demo/logs
cd demo
# Create tables & set menu # Create tables & set menu
yao migrate --reset yao migrate --reset
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册