summaryrefslogtreecommitdiff
path: root/scripts/fast_populate.sh
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-21 15:52:44 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2025-01-21 15:52:44 +0100
commitc277e9937115cc1473219a04199566c7bfdcbaf7 (patch)
treec2806eab444269d92c7c22d1165a9686f5edd9de /scripts/fast_populate.sh
parent58515ddfecd3701112616c33ad4879dae4b38ffd (diff)
get, post, put, delete covered
Diffstat (limited to 'scripts/fast_populate.sh')
-rw-r--r--scripts/fast_populate.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/fast_populate.sh b/scripts/fast_populate.sh
new file mode 100644
index 0000000..ab83ab7
--- /dev/null
+++ b/scripts/fast_populate.sh
@@ -0,0 +1,8 @@
+echo "use sudo? [y/n]"
+read answer
+
+if [[ $answer == 'y' ]] then
+ sudo="sudo"
+fi
+
+$sudo mariadb -u root < ./scripts/fast_populate.sql