reportportal / reportportal.github.io

reportportal.io website
https://reportportal.io
10 stars 10 forks source link

ReportPortal Landing page. Dev guide

Prerequisites

Installation

To install all project dependencies use the next command:

npm install

Setup App

Option 1:

If you already have Space_ID and Content Delivery API access token and do not have access to the Contentful profile that's enough for basic setup.

  1. Create file .env.development (do not commit it to the VCS)
  2. Fill in it with:
CONTENTFUL_SPACE_ID={SPACE_ID}
CONTENTFUL_ACCESS_TOKEN={ACCESS_TOKEN}

Option 2:

Run the next command to start setup:

npm run setup

Use next information for prompts during setup:

  1. Open Contentful and grab Space_ID from URL - https://app.contentful.com/spaces/{SPACE_ID}/home (requires Contentful account)
  2. Content Management API access token (see Get API Keys)
  3. Content Delivery API access token (see Get API Keys)

Ask admin to give you credentials to Contentful

Get API Keys

Start App

  1. To run the application in development mode use the following command:
npm run start
  1. Open http://localhost:8080/

Deployment

Each changes pushing (direct pushing or via merging a Pull Request) to the:

To deploy your Git branch to dev environment (AWS S3), please follow these steps:

  1. Navigate to the "Deploy to Dev (AWS S3)" action in your repository.
  2. Choose "Run Workflow" from the dropdown menu.
  3. Enter the name of your branch and click on the "Run workflow" button.
  4. Wait for the deployment process to complete. You can check the progress in the "Actions" tab of your repository.
  5. Once the deployment is finished, verify that your changes have been deployed by checking the website at the following URL: http://rpp-landing.s3-website.eu-central-1.amazonaws.com/.

That's it! Your changes should now be live on the website. If you encounter any issues during the deployment process, please consult the documentation or reach out to the project maintainers for assistance.

Libraries

SCSS/CSS

JS

SVG