Liferay.Design / Handbook
Part of Liferay, IncCode/Content Licenses


Sign In

Let's Git Set Up (20 min)

  1. (Optional) Visit our Phresh-N-Clean guide this whole thing is pretty helpful for setting up your computer in a way that it can quickly and easily be reformatted and restored will help your computer stay faster, better, longer. (So you can work it.)
  2. Complete steps 1, 2, 4, and 6 of the Set Up portion
  3. Install a code editor — Sublime Text or VSCode.
    • brew cask install sublime-text or brew cask isntall visual-studio-code

Clone the Repository (2 min)

  1. Pat yourself on the back, you're almost done the last thing to do is get a local copy (code on your computer) of the site repository (repo for short).

  2. Orient yourself 1. Open your Terminal and type ls and hit Enter this command will list the files and folders of the current directory (folder) 1. Type open . and hit Enter this will open up Finder to the current directory. 1. Type mkdir github and hit Enter now look at your Finder, you should now see a new folder labeled 'github' in your Home directory (~/) 1. Type cd github and hit Enter you've now navigated to the github folder in your Terminal! - Note that this is our suggested method for organizing your repos, feel free to organize differently.

  3. Now that your Terminal is open to your github folder, it's time to clone the repo!

  4. Copy the url to your clipboard (there's a handy little button 📋)

  5. Type git clone, paste the repo url and hit Enter cloning should take about 10 seconds.

  6. Now you need to navigate to the folder type cd life and hit Tab, it should autocomplete to if it does, hit enter, if not, finish typing it out

  7. Take your fingers off the keyboard, and give yourself a hand, you're now ready to begin development!

Something to improve? Report an issue!