Compare commits
2 Commits
6dda0615ef
...
3e6c8aa179
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e6c8aa179 | ||
|
|
509139d57b |
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@ -0,0 +1,2 @@
|
||||
Markdown==3.4.3
|
||||
Wand==0.6.11
|
||||
28
sssstatic.sh
Executable file
28
sssstatic.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! [[ "$1" =~ ^(install|clean|run) ]]; then
|
||||
echo "usage: $0 [action]"
|
||||
echo "where action can be: [install, clean, run]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case $1 in
|
||||
|
||||
install)
|
||||
echo "intalling virtual environment and dependecies"
|
||||
python -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
;;
|
||||
clean)
|
||||
echo "cleaning up"
|
||||
rm -rf venv
|
||||
;;
|
||||
run)
|
||||
echo "running"
|
||||
# source venv/bin/activate
|
||||
# exec python $2 "${@:3}"
|
||||
esac
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user