aboutsummaryrefslogtreecommitdiffstats
path: root/automatisation
diff options
context:
space:
mode:
Diffstat (limited to 'automatisation')
-rwxr-xr-xautomatisation/BDDAuto.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/automatisation/BDDAuto.sh b/automatisation/BDDAuto.sh
index 3ec2490..61ff956 100755
--- a/automatisation/BDDAuto.sh
+++ b/automatisation/BDDAuto.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+#cloner dans le repertoire personnel du root
+#exucuter en tant que root
cp /root/ATS-Project/web/website/init-bd.sql /tmp/table.sql #Car problème de droit root
@@ -14,4 +16,6 @@ echo "CREATE USER atsuser WITH PASSWORD '123456'; CREATE DATABASE atsdb; GRANT A
su - postgres -c "psql -f /tmp/conf"
-su - atsuser -c "psql -d atsdb -U atsuser -f /tmp/table.sql"
+
+pushd /tmp ; su atsuser -c "psql -d atsdb -U atsuser -f /tmp/table.sql" ; popd
+
git/commit/gradle/wrapper/gradle-wrapper.properties?h=feature/elements_detail&id=0b99522225e1ed574233f9c9207a5a8375012bd3&follow=1'>Finished search manga page controllerClyhtsuriva4-58/+87 2021-05-04Added the arch onto topanimeClyhtsuriva6-142/+151 2021-04-13Gradle updateClyhtsuriva1-4/+4 2021-04-13MVC implemented to TopMangaPageClyhtsuriva2-121/+123 2021-04-13Moving the basic variables.Clyhtsuriva1-5/+15 2021-04-13Restructuring and README update.Clyhtsuriva41-80/+140