API Management

Installing the Developer Portal Drupal

Contents

Copying the FioranoDeveloperPortal folder to the Webserver

Windows

  1. Go to the DeveloperPortalDrupal folder at $FioranoAPIManagement_Home/APIManagement/DeveloperPortalDrupal and copy the FioranoDeveloperPortal folder.

    image2017-6-19 17:35:24.png
    Figure 1: Copying the FioranoDeveloperPortal folder from the API Management directory in Windows

  2. Paste the copied folder into the www folder present in the Webserver Installation framework.

    image2017-6-19 17:35:43.png
    Figure 2: Copying the FioranoDeveloperPortal folder to the www folder

Linux

  1. Go to the DeveloperPortalDrupal folder at $FioranoAPIManagement_Home/APIManagement/DeveloperPortalDrupal and copy the FioranoDeveloperPortal folder.

    devportalcopy1.png
    Figure 3: Copying the FioranoDeveloperPortal folder from the API Management directory in Linux

  2. Paste the copied folder into the <LAMPP stack folder>/apache2/htdocs folder.

    devportalcopy2.png
    Figure 4: Copying the FioranoDeveloperPortal folder to the  <LAMPP stack folder>/apache2/htdocs folder

Granting Write permissions for files in Linux

Give Write permissions on the “files” folder and “settings.php” file at "FioranoDeveloperPortal/sites/default/" directory so that the web server gets the permission to write.

To enable Write permissions, type the following commands in the command line:

cd <path/to/FioranoDeveloperPortal/sites/default/>
chmod a+w files/
chmod a+w settings.php

In case the files folder is missing at FioranoDeveloperPortal/sites/default, please use the command below before enabling Write permissions:

cd <path/to/FioranoDeveloperPortal/sites/default/>
mkdir files

If the write permissions are not set, then an error is thrown during installation.

LinuxPermissions.png
Figure 5: Screen displaying error thrown during installation

Disable the Write permissions after installation to avoid security risks.

To disable write permissions, use the followingcommad:

cd <path/to/FioranoDeveloperPortal/sites/default/>
chmod a-w files/
chmod a-w settings.php

Refer to the following link for a better understanding of file permissions in Linux, Unix, Mac: https://www.drupal.org/node/202483


Setting up the Access Level permissions (optional)

Edit the DeveloperPortalConfig.ini properties file present at FioranoDeveloperPortal/config/ with relevant details.

The Access Level for products may be preconfigured in this properties file.

devportalprpts.png
Figure 5: Properties that can be pre-configured

Other details like Context Path used for the portal and AMS URL details and credentials also can be preconfigured before installation

The settings above reflects in the API Management Products section as below.

pdctconfig.png
Figure 6: Access Level permissions appearing in the API MAnagement Product Configuration page

Installing the Developer Portal Drupal

  1. Open the URLhttp://<hostname>:<port>/FioranoDeveloperPortal (hostname and port corresponding to the web server).

  2. Enter the following:

    1. Database name: The name of the database created by following the steps in the section above.

    2. Database username: root

      Leave the password blank.

      image2017-6-19 23:58:19.png
      Figure 7: Providing the default database user name

  3. Provide username "admin" as well as a valid mail ID and password that conforms to the Mail Server configuration and also fill-in other general information.

    adminlocal.png
    Figure 8: Providing Site Maintenance Account details

    image2017-6-19 18:23:19.png
    Figure 9: Acknowledgement message as Installation completes

  4. Click the Visit your new site link (see the figure above) to see the Developer Portal Drupal logged in as the default admin user.

    adminuser.png


    Figure 10: Developer Portal Drupal logged in as the default admin user