Skip to content

Instantly share code, notes, and snippets.

@maddyonline
Last active January 18, 2021 00:00
Show Gist options
  • Save maddyonline/f9fef02692e49d16c546849dbaa0611f to your computer and use it in GitHub Desktop.
Save maddyonline/f9fef02692e49d16c546849dbaa0611f to your computer and use it in GitHub Desktop.
zero-to-launch-divjoy

Starting a Divjoy project

First of all this section is only for the paid users of Divjoy project users. While you are most certainly welcome to go ahead and download a starter template from Divjoy, the following steps show our version of the template which is only slightly modified so it works out of the box and can be deployed readily on Vercel.

Steps to clone a starter project

We will use a mirror clone of a bare project to clone a private repo to your own project.

git clone --bare https://github.com/onweb-city/divjoy-bootstrap-starter.git
cd divjoy-bootstrap-starter.git
git push --mirror https://github.com/onweb-city/premium-courses.git

A few things to note in the above usage.

  • Note the use --bare flag while cloning.
  • Note we are changing directory into <...>.git.
  • Note the use of flag --mirror while pushing.

Vercel: Importing your project and the first deploy

The steps are almost trivial thanks to the excellent Vercel project. Just create a new project and import the above repo you just created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment