Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Latest commit

 

History

History
80 lines (68 loc) · 2.73 KB

introduction.mdx

File metadata and controls

80 lines (68 loc) · 2.73 KB
title description icon
Introduction
Set up your first preview
info

Every time a developer opens a pull request, Ergomake deploys a preview environment and adds a link to your pull request.

Your team can use those links to test your application and show your work to others.

PR comment light

PR comment dark

After you merge your pull-request, the environment gets destroyed.

Getting started

  1. Log into the Ergomake dashboard.

  2. Select the desired organization and click the "Add Repository" button.

  3. During the installation process, you'll be prompted to give it access to the repository for which you want to generate previews. Make sure to select all the repositories you need.

    ⚠️ Ergomake can't generate previews if it doesn't have access to a repository.

  4. Click the Configure button in the dashboard. When you do that, Ergomake will create a PR for you with an example configuration file. Update this compose file with your application's configurations so that we can spin up previews for your application.

  5. Merge Ergomake's PR once you're happy with how the preview looks.

Configuring your previews

Learn how to configure previw environments for your application.

Learn how to integrate with GitHub pull requests to create your first automatic preview. How to manage environment variables for build and runtime. Learn about how Ergomake routes requests to and within environments. Learn how to setup Ergomake if you need to spin-up previews with multiple repos. Learn how to set up databases and other pieces of third-party software upon which your preview environment depends. Learn how to seed your databases.