inno-code / simplephp

Project to illustrate basic PHP HTML CSS coding concepts for beginners.
8 stars 9 forks source link

Make guides directory #13

Closed zoelogic closed 9 years ago

zoelogic commented 9 years ago

In the simplephp root directory put a folder named ./guides. In this directory we will make md files (md stands for Mark Down). These files will guide people through doing common things like git komodo lamp install and other things. So, Let's move the guide notes @taono wrote in #11 into the guides folder.

taono commented 9 years ago

working on it

@papanja @natkre feel free to check git documentation for creating a folder on simplephp root directory through command line.

taono commented 9 years ago

Four Hours Later...

So, @zoelogic ,I didn't figure out a way to create guides directory. Here's my attempt process. Please help to correct my steps of thinking bellow and provide a correct answer.

  1. In order to create a folder on inno-code/simplephp , i need to clone inno-code/simplephp first.
  2. after clone the repo, I need to create guides folder at simplephp root directory.
  3. after creating guides folder, I created a md file just to fill empty guides folder ( less git won't show empty folder after push).
  4. branch checkout to origin master https://github.com/inno-code/simplephp (I'm so stuck here. bash keeps telling me the directory is not found).
  5. after check out to inno-code/simplephp branch, add, commit, and push to git.
  6. there shall be a pull request under inno-code/simplephp after push. The final step is to merge.

So, I thought the above steps would work theoretically. But I'm stuck on step 4. Also, I try to add file on git wesite. But it only allows to add file but not folder. I've been working on it for four + hours literally, feeling pretty unfruitful.

zoelogic commented 9 years ago

Note: You only clone when you do not have a repo on your local computer yet.