generated from me/template-mit
Add command for running a local HTML server.
This commit is contained in:
+1
-2
@@ -653,8 +653,7 @@ alias pull-www="download-website"
|
||||
alias www-pull="download-website"
|
||||
|
||||
function run-site {
|
||||
# TBD: Run a folder with HTML as a website on port $1 (8080 default)
|
||||
sleep 0
|
||||
python3 -m http.server
|
||||
}
|
||||
alias run-html="run-site"
|
||||
alias exec-site="run-site"
|
||||
|
||||
Reference in New Issue
Block a user