summary refs log tree commit diff
path: root/appbuild.sh
blob: 95ea5dd2b79050a243530c515afa74c24843b682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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/poseidon.git/
cd poseidon 
go build
cp *.html $appRoot
cp -r assets $appRoot
cp poseidon $appRoot