The project you'll check out as you learn to develop modern websites in Learn JS The Hard Way.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1.1 KiB

Install

You can install the project with a few commands:

git clone git@git.learnjsthehardway.com:zedshaw/ljsthw-project-template.git yourproject
cd yourproject

Next you'll want to move the 'origin' to 'upstream' so you can have your own git repo, then rename the 'master' branch to 'ljsthw' so you know exactly what it is:

git branch -m master ljsthw
git remote rename origin upstream
git remote set-url upstream --push "This remote is read only."

Create your own branch for working on, I like to name mine dev:

git checkout -b dev

Create your origin pointing at your real git repo:

git remote add origin git@git.learnjsthehardway.com:USER/yourproject.git

Then create a branch for your work so you can freely work without worrying about infecting the LJSTHW source:

`` git push --set-upstream origin dev git pull -v


It should say `origin/dev` when you pull.  Now you're ready to work on your own, and pull changes from this project to update your code with new changes.

Install (Linux/OSX)
===

npm install . ./scripts/init.js