aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2022-09-23 21:19:26 +0000
committerjakob <jakob@jakobstendahl.no>2022-09-23 22:10:45 +0000
commit71e9f98a372971275befeae1515393c1b283dbe6 (patch)
tree1b411ac66779c717bf9ceba10e2c0695ab76abfd /Makefile
downloadtor-site-tester-71e9f98a372971275befeae1515393c1b283dbe6.tar.gz
tor-site-tester-71e9f98a372971275befeae1515393c1b283dbe6.zip
Initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..56c9dbc
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+all: dirs requirements.txt
+
+requirements.txt: venv
+ . venv/bin/activate; \
+ pip install --upgrade pip; \
+ pip install -r requirements.txt; \
+
+venv:
+ pip3 install virtualenv
+ python3 -m virtualenv venv
+
+dirs:
+ mkdir -p tordata
+ mkdir -p logs
+
+clean:
+ rm -rf venv/
+ rm -rf logs/
+ rm -rf tordata/