YAO Widget DEMO
Documentation: https://yaoapps.com/en-US/doc
docker run -d -p 5099:5099 --restart unless-stopped \
-e YAO_INIT=reset \
-e YAO_PROCESS_RESET=flows.setmenu \
yaoapp/demo-widget:1.0.0-amd64
git clone https://github.com/YaoApp/demo-widget /app/path/widget
mkdir /app/path/widget/db
mkdir /app/path/widget/data
mkdir /app/path/widget/logs
cat << EOF
YAO_ENV=development # development | production
YAO_ROOT="/app/path/widget"
YAO_HOST="0.0.0.0"
YAO_PORT="5099"
YAO_SESSION="memory"
YAO_LOG="/app/path/widget/logs/application.log"
YAO_LOG_MODE="TEXT" # TEXT | JSON
YAO_JWT_SECRET="bLp@bi!oqo-2U+hoTRUG"
YAO_DB_DRIVER=sqlite3 # sqlite3 | mysql
YAO_DB_PRIMARY="/app/path/widget/db/yao.db"
EOF > /app/path/widget/.env
cd /app/path/widget
# Create tables & set menu
yao migrate --reset
yao run flows.setmenu
cd /app/path/widget
yao start
Open the browser to visit the URL:
http://127.0.0.1:5099/xiang/login/admin
User Name: xiang@iqka.com
Password: A123456p+