Skip to main content
Skip table of contents

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.


    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.


    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.


    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.


    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:

CODE
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:

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

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


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:

CODE
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.


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.


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.


      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.


    Figure 8: Providing Site Maintenance Account details


    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.


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

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.