summary refs log tree commit diff
path: root/appbuild.sh
blob: f5d1702bfd48795d8afb85be49131aaca8c71c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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
cd ..
sh -c miniweb/sign.sh
git clone https://git.piusbird.space/poseidon.git/
cd poseidon 
go build
cp *.html $appRoot
cp poseidon $appRoot