Follow the steps given in InstallationGuide.md, to create database.
-
Download the developer portal.
-
Extract the downloaded zip.
-
Execute the data-dump.sql script in the artifacts folder to populate the database with mock data.
psql -q -U "{db_username}" -d "{db_name}" -h "{hostname}" -p "{port}" -f "{path to data-dump.sql}"
-
Execute the startup script <DEVPORTAL_HOME>/bin folder, based on the OS:
For Linux or MacOS sh startup.sh For Windows startup.bat
The default organization name is ACME. This will start the webapp in the following URL : ‘http://localhost:3000/ACME’
This will direct you to the organization landing page.
The ‘http://localhost:3000/ACME/apis’ will direct you to the api listing page.
Each of the api landing and tryout pages are available at the following URLs: 'http://localhost:3000/ACME/api/{apiName}' 'http://localhost:3000/ACME/api/{apiName}/tryout'
To try the setup locally, please refer to the API Developer Portal repository.