Clone the Hello SaaS repo

Hello SaaS

This page guides you on cloning down the Hello SaaS tutorial repository. You should follow these steps closely, especially if you’re new to GitHub or BitBucket.

If you have an existing GitHub account, we recommend just forking the Hello SaaS repo. In this case, after forking the repo, you can move on to the next step by connecting your repo to SaaS.

Instructions

  1. Go to your terminal and run:

    git clone https://github.com/magnolia-cms/hello-saas-tutorial.git
  2. Create a remote repository with your remote Git provider.

    Git provider info

    Since we’ll be deploying to Netlify, choose between GitHub and Bitbucket Cloud.

    New to GitHub or Bitbucket ?

    If you have created a new account in GitHub or Bitbucket, you may need to generate an SSH key for your account.

    See the following for help:

  3. Navigate to the local folder containing your cloned hello-saas-tutorial repository.

  4. Set your remote origin to the remote repository you just created.

    git remote remove origin (1)
    git remote add origin <git@github.com:GIT_USER/hello-saas-tutorial.git> (2)
    1 Removes the cloned origin.
    2 Adds your new origin.

    Where do I find the URL?

    You can typically find this where you clone down your repository from your Git provider as shown in the GitHub example below.

    clone copy url example

  5. Set your default branch to main.

    git branch -m main
  6. Push everything to your remote Git provider.

    git push -u origin main
Feedback

SaaS

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Magnolia SaaS docs.

Main doc sections

DX Core Headless SaaS PaaS Legacy Cloud Incubator modules