summary refs log tree commit diff
path: root/appbuild.sh
blob: 2ebd93240e6af4fa2c4d09a3c3362c026f34227b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
if [ ! -n $appRoot ]
then
	export appRoot="/app"
fi
mkdir -pv $appRoot/src
cd $appRoot/src
echo $appRoot
git clone https://git.piusbird.space/miniweb.git/
cd miniweb
make
cp miniwebproxy $appRoot
cp -r scripts/ $appRoot
chmod +x sign.sh
./sign.sh
cp intercept* $appRoot
cd ..
sh -c miniweb/sign.sh
git clone https://git.piusbird.space/poseidon.git/
cd poseidon 
go build
cp *.html $appRoot
cp -r assets $appRoot
cp poseidon $appRoot