flex-template-web/docs/starting-a-new-customisation-project.md
2017-12-19 14:33:51 +02:00

1.3 KiB

Starting a new customisation project

To start a new project to customise the Starter App, you should create a separate Git repository and setup the Git remotes so that you can pull in changes from the main (upstream) repository to your custom repository.

Fork the repository

See the Fork a repo documentation.

Note: If you want to make the fork to the same user, you have to start with an empty repository and follow the next steps in that repository.

Clone the fork

Go to the directory where you want to clone the repository and run:

git clone git@github.com:YOUR_USERNAME/YOUR_FORK.git

Set up remotes

In your local fork repository, run:

git remote add upstream git@github.com:sharetribe/sharetribe-starter-app.git

See also the Configuring a remote for a fork documentation.

Pull in latest upstream changes

In the master branch:

  1. Fetch the latest changes from the upstream repository:

    git fetch upstream
    
  2. Merge the changes to your local branch

    git merge upstream/master
    
  3. Fix possible merge conflicts, commit, and push/deploy.

See also the Syncing a fork documentation.