How to start using GitHub with SashiDo (for beginners)

Galya Titova

Let’s start with the basics.

GitHub is a software development platform that lets you host and develop your code, manage projects, and collaborate with other developers. Your repository (repo) is the place where your project lives. GitHub allows repos to be public, where everyone can view or access the code, or private, where only the repo owner and the collaborators have access to the code.

Normally, if you want to use a private repo in GitHub, you need to have a paid subscription, but in SashiDo every app comes with a private repo, created by us, so you don’t need to pay additional fees. [How cool is that :)]

If you are new to GitHub, it’s important to understand the key concepts behind it and how our integration works in order to fully take advantage of all its benefits.

When you create an app in SashiDo, we automatically create a private GitHub repo for your app and Cloud Code. When you connect your GitHub account with SashiDo you will receive an email from GitHub saying that @parsegroundapps [this is us] has invited you to collaborate on the parsegroundapps/pg-app-xxxxxxxxxxxxxxx repository. Don’t forget to click “View Invitation” in your email and then accept the invitation.

When you click to activate your cloud code your repo will look like this:

Simple repository in SashiDo

(Note that if you only see readme.md in your repo, this means that you haven’t activated your cloud code from SashiDo dashboard yet)

You can see two folders - cloud and public. It is important not to rename these two as they are prerequisite for your app to work in SashiDo.

The next step is to make sure you understand how GitHub flow works. Sooner or later you will need to develop new features or do code changes without causing downtime for your app, so make sure you are familiar with branches and how to create them.

  • You can use as many development branches as you need in order to organize your development process. Our recommendation is to use at least one.
  • As for your master branch - this is your “official” code base and where your cloud code is built from. Every time you commit changes to the master branch you trigger a deploy in SashiDo! This means that if you’re not careful and commit buggy changes in your master branch this will immediately affect your app customers.

Other useful tutorials you’ll need to check out if you’re not familiar with GitHub are Mastering Issues and How to document your projects.

There’s no real fun in developing code by yourself so if you want colleagues of yours to be able to do changes in your code - you need to add them as collaborators. This simply can be done through your SashiDo dashboard - just add them as app collaborators and they will receive an invitation to the app repository through GitHub.

Now you’ve mastered the basics of GitHub and you’re ready to work on your app.
You can check this video if you need more information about Cloud Code or you may continue with this tutorial on Advanced Cloud Code integration on SashiDo.

Happy Coding!

Galya Titova

Head of Marketing Innovations @ SashiDo

Find answers to all your questions

Our Frequently Asked Questions section is here to help.







Latests news

How to make your Mobile Application GDPR Ready

At SashiDo we certainly care about our customers and we strive to be up-to-date on the horizon of the novelties coming up. We’re all working on GDPR these days and we want to help people understand what it is. What does GDPR mean? In February we announced that GDPR is coming and SashiDo.io is getting ready and now we will be more specific on how to make sure your mobile app is prepared for the upcoming changes in the European Union region.

Read More

SashiDo Acquires Octobas

SashiDo is pleased to announce its recent acquisition of all the assets of Octobas.com, a robust and scalable backend for mobile and web apps based on Parse Open Source. For the past 2 years our mission has been to become a leading Parse Server hosting provider in the mobile and web apps development world as well as to continue improving our service, launching new features and providing quality and security to our customers.

Read More