#Android 🐒 上使用本地版 #Sub-Store


更新: 查看最新版教程


———-

# termux 中

pkg install node git

npm i -g pnpm

pnpm setup

pnpm i -g pm2

# 日志插件
pm2 install pm2-logrotate
cd ~
git clone https://github.com/sub-store-org/Sub-Store.git
cd Sub-Store/backend
pnpm i
pnpm build
# 后端
pm2 start "npm run serve" --name sub-store-backend
# 日志
# pm2 logs sub-store-backend

cd ~
git clone https://github.com/sub-store-org/Sub-Store-Front-End.git
cd Sub-Store-Front-End
pnpm i

# 编辑 .env.development 的最后一行为 VITE_API_URL = 'http://127.0.0.1:3000'
# 偷懒了 开发模式
pm2 start "npm run dev" --name sub-store-frontend
# 日志
# pm2 logs sub-store-frontend

pm2 save

# 打开 http://127.0.0.1:8888

🔚

求个 ⭐️ https://github.com/sub-store-org/Sub-Store