Warehouse Management Sytem
Documentation: https://yaoapps.com/en-US/doc
MySQL(Optional)
docker run -d -p 3307:3306 --restart unless-stopped -e MYSQL_PASSWORD=123456 yaoapp/mysql:8.0-amd64
docker run -d -p 5099:5099 --restart unless-stopped \
-e YAO_INIT=demo \
-e YAO_PROCESS_RESET=flows.init.menu \
-e YAO_PROCESS_DEMO=flows.demo.data \
-e YAO_DB_DRIVER=mysql \
-e YAO_DB_PRIMARY="yao:123456@tcp(172.17.0.1:3307)/yao?charset=utf8mb4&parseTime=True&loc=Local" \
yaoapp/yao-wms:1.0.3-amd64
git clone https://github.com/YaoApp/yao-wms /app/path/wms
mkdir /app/path/wms/data
mkdir /app/path/wms/logs
cat << EOF
YAO_ENV=development # development | production
YAO_ROOT="/app/path/wms"
YAO_HOST="0.0.0.0"
YAO_PORT="5099"
YAO_SESSION="memory"
YAO_LOG="/app/path/wms/logs/application.log"
YAO_LOG_MODE="TEXT" # TEXT | JSON
YAO_JWT_SECRET="bLp@bi!oqo-2U+hoTRUG"
YAO_DB_DRIVER=mysql
YAO_DB_PRIMARY="yao:123456@tcp(172.17.0.1:3307)/yao?charset=utf8mb4&parseTime=True&loc=Local" # Replace your setting
EOF > /app/path/wms/.env
cd /app/path/wms
# Create tables & set menu
yao migrate --reset
yao run flows.init.menu
# Demo data
yao run flows.demo.data
cd /app/path/wms
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+