Skip to content

Latest commit

 

History

History
79 lines (49 loc) · 3.38 KB

HowToDeploy.md

File metadata and controls

79 lines (49 loc) · 3.38 KB

How to deploy

We use "https://app-cc-home.demo-fi.personium.io/" in this example, but make sure you use your own HomeApp Cell URL.

Before deploying

Download the zip file.

Deploying the files

For similar screen shots of Unit Manager, please refer to the How to deploy of template-app-cell.

  1. Use Unit Manager to access your Personium Unit.

  2. Create an empty Cell (e.g. app-cc-home).

  3. Use Unit Manager to access your app Cell.

  4. From Snapshot menu, click the "Upload" button, select the previous downloaded zip file to upload.

  5. From Snapshot menu, select the file and then click the "Import" button.
    You will be logged out automatically so that you will not be able to corrupt the Cell content.
    If your browser displays error message, ignore it and reload the page.

  6. Wait for a minute and then Re-login.

    • If you are using your Personium Unit, login as Unit Admin and set your app Cell's password again.
  7. Select your HomeApp Cell and display the details of the main box.

  8. Specify the app Cell URL in the following files:

    1. Download, modify then upload the main/index.html
      • Format:

          39: var appUnitFQDN = "{your FQDN}";
        
          53: homeAppUrl = "https://" + appUnitFQDN + "/{your cellname}/";
        
          55: homeAppUrl = "https://{your cellname}." + appUnitFQDN + "/";
        
          58: homeAppUrl = "https://" + appUnitFQDN + "/{your cellname}/";
        
      • Before:

          39: var appUnitFQDN = "demo.personium.io";
        
          53: homeAppUrl = "https://" + appUnitFQDN + "/app-cc-home/";
        
          55: homeAppUrl = "https://app-cc-home." + appUnitFQDN + "/";
        
          58: homeAppUrl = "https://" + appUnitFQDN + "/app-cc-home/";
        
      • After (example):

          39: var appUnitFQDN = "demo-fi.personium.io";
        
          53: homeAppUrl = "https://" + appUnitFQDN + "/app-cc-home/";
        
          55: homeAppUrl = "https://app-cc-home." + appUnitFQDN + "/";
        
          58: homeAppUrl = "https://" + appUnitFQDN + "/app-cc-home/";
        
  9. Specify the app Cell URL in the following files:

    1. Download, modify then upload the main/index.html
      • Format:

          40: var appMarketListEndpoint = "https://{Market cell url}/__/applist/Apps";
        
      • Before:

          40: var appMarketListEndpoint = "https://demo.personium.io/market/__/applist/Apps";
        
      • After (example):

          40: var appMarketListEndpoint = "https://market.demo-fi.personium.io/__/applist/Apps";
        
  10. Specify the app Cell URL in the following files:

    1. Download, modify then upload the main/index.html
      • Format:

          41: var appDirectoryEndpoint = "https://{Directory cell url}/app-uc-directory/OData/directory";
        
      • Before:

          41: var appDirectoryEndpoint = "https://demo.personium.io/directory/app-uc-directory/OData/directory";
        
      • After (example):

          41: var appDirectoryEndpoint = "https://directory.demo-fi.personium.io/app-uc-directory/OData/directory";