summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-27 10:38:56 +0100
committerRoberto Hueso Gómez <rhueso@soleta.eu>2020-10-27 10:38:56 +0100
commit8fa8ca3f42d66e0c38b1d49e3baabf767103ae8b (patch)
treefd67586fa61a5c2c1cb7d958f1a1a432a938cf53
parent904989b175bda9c68cb9f5750ed5883b9113d834 (diff)
Add run_test.sh script
This script is used to run a Flask testing environment.
-rwxr-xr-xrun_test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run_test.sh b/run_test.sh
new file mode 100755
index 0000000..80c1df1
--- /dev/null
+++ b/run_test.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+pip3 install -r requirements.txt
+export FLASK_APP=ogcp
+export FLASK_ENV=development
+flask run