diff --git a/.data/test/.acl b/.data/test/.acl deleted file mode 100644 index 585fe39..0000000 --- a/.data/test/.acl +++ /dev/null @@ -1,26 +0,0 @@ -# Root ACL resource for the agent account -@prefix acl: . -@prefix foaf: . - -# The homepage is readable by the public -<#public> - a acl:Authorization; - acl:agentClass foaf:Agent; - acl:accessTo <./>; - acl:mode acl:Read. - -# The owner has full access to every resource in their pod. -# Other agents have no access rights, -# unless specifically authorized in other .acl resources. -<#owner> - a acl:Authorization; - acl:agent ; - # Optional owner email, to be used for account recovery: - - # Set the access to the root storage folder itself - acl:accessTo <./>; - # All resources will inherit this authorization, by default - acl:default <./>; - # The owner has all of the access modes allowed - acl:mode - acl:Read, acl:Write, acl:Control. diff --git a/.data/test/.meta b/.data/test/.meta deleted file mode 100644 index 2ff1b3f..0000000 --- a/.data/test/.meta +++ /dev/null @@ -1 +0,0 @@ - a . diff --git a/.data/test/README$.markdown b/.data/test/README$.markdown deleted file mode 100644 index d291f38..0000000 --- a/.data/test/README$.markdown +++ /dev/null @@ -1,27 +0,0 @@ -# Welcome to your pod - -## A place to store your data -Your pod is a **secure storage space** for your documents and data. -
-You can choose to share those with other people and apps. - -As the owner of this pod, -identified by http://localhost:3000/test/profile/card#me, -you have access to all of your documents. - -## Working with your pod -The easiest way to interact with pods -is through Solid apps. -
-For example, -you can open your pod in [Databrowser](https://solidos.github.io/mashlib/dist/browse.html?uri=http://localhost:3000/test/). - -## Accessing your account -To keep track of your pods, webIDs and any other resources, -you can [log in](http://localhost:3000/.account/) to your account. -There you can, for example, update the owners of this pod. - -## Learn more -The [Solid website](https://solidproject.org/) -and the people on its [forum](https://forum.solidproject.org/) -will be glad to help you on your journey. diff --git a/.data/test/README.acl b/.data/test/README.acl deleted file mode 100644 index c16d8c8..0000000 --- a/.data/test/README.acl +++ /dev/null @@ -1,14 +0,0 @@ -@prefix acl: . -@prefix foaf: . - -<#public> - a acl:Authorization; - acl:accessTo <./README>; - acl:agentClass foaf:Agent; - acl:mode acl:Read. - -<#owner> - a acl:Authorization; - acl:accessTo <./README>; - acl:agent ; - acl:mode acl:Read, acl:Write, acl:Control. diff --git a/.data/test/profile/card$.ttl b/.data/test/profile/card$.ttl index 3801332..67b2679 100644 --- a/.data/test/profile/card$.ttl +++ b/.data/test/profile/card$.ttl @@ -10,4 +10,4 @@ solid:oidcIssuer ; a foaf:Person; - <../> . + <../>. diff --git a/.data/test/profile/card.acl b/.data/test/profile/card.acl deleted file mode 100644 index bec67df..0000000 --- a/.data/test/profile/card.acl +++ /dev/null @@ -1,19 +0,0 @@ -# ACL resource for the WebID profile document -@prefix acl: . -@prefix foaf: . - -# The WebID profile is readable by the public. -# This is required for discovery and verification, -# e.g. when checking identity providers. -<#public> - a acl:Authorization; - acl:agentClass foaf:Agent; - acl:accessTo <./card>; - acl:mode acl:Read. - -# The owner has full access to the profile -<#owner> - a acl:Authorization; - acl:agent ; - acl:accessTo <./card>; - acl:mode acl:Read, acl:Write, acl:Control. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a6fcaab..7ae1748 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,6 +22,8 @@ jobs: run: | yarn install yarn run build + env: + NODE_ENV: production - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@releases/v4 diff --git a/src/components/LandingPage.vue b/src/components/LandingPage.vue index 3e9205c..afaf09f 100644 --- a/src/components/LandingPage.vue +++ b/src/components/LandingPage.vue @@ -7,11 +7,72 @@ class="mx-auto" color="indigo-darken-3" > -

Welcome to the TRIPLE App!

-

Below is a guide to get you started.

+
+

Welcome to the TRIPLE App!

+

Below is a guide to get you started.

+

(Similar instructions found in the README)

+
+ + +
+

Getting Started:

+
+ +

Requirements:

+ +
+ +

1. Repo Cloning and Starting your local Solid pod

+
    +
  1. + Clone the project git repo (it has some useful scripts for later).
    For + help see + it clone guide. +
  2. +
+
$ git clone https://github.com/ecrum19/TRIPLE_App.git
+
    +
  1. To start pod set-up, execute the following command:
  2. +
+
$ bash makePod.sh
+ +
+ +

2. Setting up the Solid pod

+
    +
  1. + Using a web browser navigate to + http://localhost:3000/ +
  2. +
  3. Click the link: "Sign up for an account"
  4. +
  5. Fill out the fields and click "Register"
  6. +
  7. On the "Your Account" page, click on "Create pod"
  8. +
  9. Enter a name for the pod and click "Create pod"
  10. +
  11. Return to the home page by clicking "Back"
  12. +
+

+ Voila, you now have a pod hosted by your local machine. Now, let us add + something to it! +

+ +

Launching the TRIPLE App

+
    +
  1. First install all dependencies:
  2. +
+
+ \ No newline at end of file + +.guide { + text-align: Left; +} + +.req { + margin-top: 10px; +} + +body { + font-family: Arial, sans-serif; + line-height: 1.6; + margin: 15px; + background-color: #f4f4f4; +} + +code { + background: #f4f4f4; + border: 1px solid #ddd; + padding: 10px; + border-radius: 5px; + overflow-x: auto; +} + +pre { + padding-left: 10px; + padding-bottom: 10px; + margin-bottom: 15px; +} + +ul, +ol { + margin-left: 20px; + margin-bottom: 15px; + margin-top: 5px; +} + +ol li { + margin-bottom: 10px; + margin-left: 20px; + list-style-type: upper-roman; + align-items: Left; +} + +a { + color: #0066cc; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +.container { + font-family: "Courier New", monospace; + max-width: 900px; + margin: auto; + padding: 20px; + background: #d0e0fc; + border-radius: 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} + diff --git a/vue.config.js b/vue.config.js index 342369a..29a8864 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,7 +1,7 @@ const { defineConfig } = require('@vue/cli-service') module.exports = defineConfig({ transpileDependencies: true, - publicPath: process.env.NODE_ENV === 'production' ? '/repository-name/' : '/' + publicPath: process.env.NODE_ENV === 'production' ? '/TRIPLE_App/' : '/' });