diff --git a/.DS_Store b/.DS_Store index 1b3e8a8..23c8220 100644 Binary files a/.DS_Store and b/.DS_Store differ 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/' - : '/' });