How to deploy Bytebase on Render

·

1 min read

It's easy to run Bytebase locally with Docker, then how to deploy it on an online service? We take Render as an example.

  • Fork Bytebase into your own repository - since we can't update files in Bytebase directly, we need to make our copy. Only in this way can we do file customization.

image.png

  • Make a local copy for easy editing.
    git clone git@github.com:adela-bytebase/bytebase.git
    
    image.png

image.png

image.png We remove --demo which decides whether use demo data - for our case, we don't need demo data.

  • Now, we Log in Render, Create a Web Service.

image.png

  • Choose your branch. image.png

  • Config under the Settings page.

image.png

  • Add a persistent disk under the Disks page. Otherwise, the data will be lost. If you accidentally run the deploy script with some test data and want to clear it, delete the disk and add it again.

image.png

image.png

  • Do deployment!

image.png

  • And visit the site! Make sure you have the highest admin role. :D

image.png

image.png