From 5b9824d93c998acd49249e68a489ba16c06fc4d6 Mon Sep 17 00:00:00 2001 From: Elias Crum Date: Thu, 16 May 2024 13:53:41 +0200 Subject: [PATCH] pod registration script changes --- .DS_Store | Bin 8196 -> 6148 bytes .data/test/profile/card$.ttl | 3 ++- deploy.sh | 13 ------------- package.json | 1 + podRegistration.sh | 10 +++------- vue.config.js | 3 --- 6 files changed, 6 insertions(+), 24 deletions(-) delete mode 100755 deploy.sh diff --git a/.DS_Store b/.DS_Store index 1b3e8a8c19821c2b38a12c1b9fc3017f39cff55f..23c82201540aa2ea463a671165ff7b36f4128dcf 100644 GIT binary patch delta 122 zcmZp1XfcprU|?W$DortDU=RQ@Ie-{MGjdEU6q~50$jCe~U^gT4WFCRg$uq?BH#V5F zEoSH75M&0b0RjPTAmIv9zOnE-^JIP*O9hZHBLf2ylx6|ZKn}=YkX;O$<9X&V0|2sE B5gz~m literal 8196 zcmeHMTWl0n7(V~Br89J(1GKVW2R2=ZfNfbRrIkyvy(xv3Vz;H+QdnkpMmjJ%v+T@n zsimed@dZTVlg3-{$qSJO6(zp-peXvNXo4|5U^HGHG|?B8ME`TnY)e~sA%yeL&Fu)9H{dV0-kf-j*;Kz~BCF3U-$EGIS3HV_06 z2qF+fAc#N^fgl2RMg;K8rcJ!bxzDvhA4DLC!2dD=^!*UVi_(}+r#NM=4(wP7fV33F ztl>S@0n8`t)0j`EIAyLlCa)gAcLl%10Pc?ZFf~US^XU|)+?@b-C*aQveuV;TcJvD~ za{@6=gFc8r5P|s-plMS^8i-Cb;?1hxF_GXDY8(D$jk%VhIRyO44Ss?jI}v=TX&gnoGV00l#)tlVq!~kv@YBj zZJMkLPc%0+)rB`VZke2v#Olb#ZGFk3R>pQtvfUH#Up{0J=cjubCx6eDTWIIIDTx<% z^Hp&-(!vUPkvfw<4Qyn z*&JcDRvyuDaXpSsXVFFFJdT62uT^W+{Z!MQGqBfvhxO{ca=(jv5EYFZHpo%A|0n`L zQd}-+l$+E6OG_D+r09H}7I~{WSm5!Ol-*poL#|d6X(yAxExHnywW{svK{{=>=6bzZ z!=_8R#B~p#ZrB~waz^hM0?=R4E|juIigN1Ishgg|lo*XYwW>Nqhilb!wuhCW6_sjS z9T1hzM0`Z1T`&>!_*gmi#Yk-Y40|Y%*arS^BAgJy109J)eSt_+vWaw%ZgPm^$OJh} zo+W3=+vFnoh<0!5MfNUWYf~EjSPF!256sK7mi+bGQoM!gugJ`~rW% zUvNz*6P61hVTDjD)Cu)MgU~Fr2wR11!XBYlNC=v6L~w*GU%yaHv;)Nr`tot4Gl}NE zHiUCGPPCc_cXsWPyZ9F$kBE+*Yf8uGLpz*I4gi!@`Ea^E_#M#NN6%6xX+dSrJi3piU--ymXIDgtBW znoW%oCZAH`v-Qo$0%zoH+a*jxrPOCv#gHY8sj2Dc#9=Ne;=hIQE95Hqf&5CYA;uTO zG6=yv5JhCS!A{u2upNg1I0#8N1S!xV12#Bt3{idpCgD+-g2xc!Paw*lf~Vm*cphFr zq`v~M!fS9A-awqc3m4!$_y9hHi}10J_^%P~Kf%v)Fx)d6!|?kIh70kWZ8~n}7em^$7ycAOb-I?)V5mX-B-H z4VPIwb?2^_*4kmb4&g-`wVUFUxnRf2aipvqM>_q7A>N14l={ScI>jkUu-*0#0e9{X O?cn?m&i~tX{{I8brp&eg diff --git a/.data/test/profile/card$.ttl b/.data/test/profile/card$.ttl index ca68ad8..3801332 100644 --- a/.data/test/profile/card$.ttl +++ b/.data/test/profile/card$.ttl @@ -9,4 +9,5 @@ solid:oidcIssuer ; - a foaf:Person. + a foaf:Person; + <../> . diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 2baf0a5..0000000 --- a/deploy.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env sh -# abort on errors -set -e -# build -yarn run build -# navigate into the build output directory -cd dist - -git init -git add -A -git commit -m 'deploy' -git push -f git@github.com:ecrum19/TRIPLE_App.git master:gh-pages -cd - diff --git a/package.json b/package.json index 3469d60..e1e7516 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "1.0.0", "description": "The TRIPLE Solid pod access application", "main": "~/src/App.vue", + "homepage": "https://ecrum19.github.io/TRIPLE_App", "repository": "https://github.com/ecrum19/TRIPLE_App/tree/EDC_active", "author": "Elias Crum", "license": "MIT", diff --git a/podRegistration.sh b/podRegistration.sh index 4c7d87c..5a1f401 100644 --- a/podRegistration.sh +++ b/podRegistration.sh @@ -3,16 +3,12 @@ # get current dir and navigate to the user's WebID card read -p "Enter the name of your pod: " pod current_directory=$(pwd) -for _ in 1; do - echo "$current_directory" - current_directory=$(dirname "$current_directory") -done # designates the file to add the Pod info to target_directory="$current_directory/.data/$pod/profile" file_name="card$.ttl" full_path="$target_directory/$file_name" - +echo $full_path # check to make sure the directory is accurate if [ ! -d "$target_directory" ]; then echo "Error: $target_directory does not exist..." @@ -22,7 +18,7 @@ fi # replaces the "." with a ";" for ttl format continuity to_replace="a foaf:Person." fixed="a foaf:Person;" -sed -i "s@$to_replace@$fixednew-text@g" "$full_path" +sed -i '' -e "s|$to_replace|$fixed|g" "$full_path" # makes it visible where your pod is using <../pim/space#storage> -#echo " <../> ." >> $full_path \ No newline at end of file +echo " <../>." >> $full_path \ No newline at end of file diff --git a/vue.config.js b/vue.config.js index 61df84d..dbe1fa0 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,9 +1,6 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, - publicPath: process.env.NODE_ENV === 'production' - ? '/app/' - : '/' });