Compare commits
No commits in common. "3e6c8aa179b0defe3393702f0bbc0a7897c6e60f" and "6dda0615efa91c397454f576e581f06313171a53" have entirely different histories.
3e6c8aa179
...
6dda0615ef
@ -1,2 +0,0 @@
|
|||||||
Markdown==3.4.3
|
|
||||||
Wand==0.6.11
|
|
||||||
28
sssstatic.sh
28
sssstatic.sh
@ -1,28 +0,0 @@
|
|||||||
#!/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