安装satis
cd /opt
git clone
php -r "readfile('');" | php
composer config -g repo.packagist composer
/usr/local/php/php7.3/bin/php composer.phar install
ln -s /opt/satis/bin/satis /usr/bin/satis
管理界面
mkdir -p /opt/satis-go/{data,repo-ui,admin-ui}
cat config.yaml
bind: 10.1.103.251:8099
dbpath: /opt/satis-go/data
repouipath: /opt/satis-go/repo-ui
adminuipath: /opt/satis-go/admin-ui
reponame: My Satis-go
repohost:
启动
./satis-go-Linux-x86_64 -config config.yaml
管理后台
/admin/#/
触发生成web文件
curl -X POST /api/generate-web-job
现在就可以查看前端页面了
阅读(2065) | 评论(0) | 转发(0) |