Skip to content

Commit

Permalink
First release stable
Browse files Browse the repository at this point in the history
  • Loading branch information
fedyfausto committed Oct 15, 2020
1 parent 7e5317a commit 73885b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ build:
cd webserver/frontend && npm run build
cd webserver && statik -src=www -f
mkdir -p bin
mkdir -p bin/config
go build -o bin/bigbro cmd/main.go
cp -R config bin/
cd bin/config && rm config.yml && touch config.yml
install:
mkdir -p /home/${USER}/bigbro
cp bin/bigbro /home/${USER}/bigbro/
cp -R bin/ /home/${USER}/bigbro/
cp -R config /home/${USER}/bigbro/config
chmod +x /home/${USER}//bigbro
cd /home/${USER}/bigbro/config && rm config.yml && touch config.yml
ln -s /home/${USER}/bigbro /usr/local/bin/bigbro
chmod +x /home/${USER}/bigbro
#ln -s /home/${USER}/bigbro/bigbro /usr/local/bin/bigbro

Binary file modified bin/bigbro
Binary file not shown.

0 comments on commit 73885b4

Please sign in to comment.