Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
flaskdav
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
flaskdav
Commits
0f27a51f
Commit
0f27a51f
authored
Feb 08, 2016
by
iv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add bash script to run flaskdav in one line.
parent
fb94610c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
README.md
README.md
+10
-0
runflaskdav
runflaskdav
+10
-0
No files found.
README.md
View file @
0f27a51f
...
@@ -24,6 +24,16 @@ The HMAC key is reset each time you restart the server.
...
@@ -24,6 +24,16 @@ The HMAC key is reset each time you restart the server.
tells the server to use the generated SSL key and certificate, and to give access to the full system.
tells the server to use the generated SSL key and certificate, and to give access to the full system.
## Script
On NayuOS, do:
bash runflaskdav
to run flaskdav on / or give an absolute path as argument:
bash runflaskdav /media/removable
## LICENSE
## LICENSE
flaskdav is under the GPL2 license.
flaskdav is under the GPL2 license.
...
...
runflaskdav
0 → 100644
View file @
0f27a51f
PATH="/"
if ! [[ -z "$1" ]] ; then
PATH="$1"
fi
if ! [ -r "ssl.key" -a -r "ssl.cert" ] ; then
/usr/bin/openssl req -nodes -newkey rsa -days 365 -keyout "ssl.key" -x509 -out "ssl.cert"
fi
/usr/local/bin/python flaskdav.py --cert ssl.cert --key ssl.key --path "${PATH}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment