add installation instructions,fix install scripts permissions and add shebang to run.py
This commit is contained in:
parent
fda6a996da
commit
5be06f2f7d
10
README.md
10
README.md
@ -2,3 +2,13 @@
|
||||
|
||||
Web app
|
||||
|
||||
# Use
|
||||
|
||||
python3 ./run.py
|
||||
|
||||
# Install
|
||||
|
||||
cd build-deb/
|
||||
make
|
||||
sudo apt install ./flaskapp.deb
|
||||
|
||||
|
@ -8,7 +8,10 @@ deb: man ../requirments.txt ../run.py ../flaskapp ../LICENSE
|
||||
cp -r ../flaskapp/* flaskapp/var/flaskapp/flaskapp/
|
||||
cp ../run.py flaskapp/var/flaskapp/
|
||||
cp ../LICENSE flaskapp/var/flaskapp/
|
||||
chmod -w luser/DEBIAN/*
|
||||
chmod +w luser/DEBIAN/control
|
||||
dpkg-deb --build flaskapp
|
||||
chmod -w luser/DEBIAN/*
|
||||
clean:
|
||||
rm -f flaskapp.deb
|
||||
rm -f man/flaskapp.1
|
||||
|
Loading…
Reference in New Issue
Block a user