Skip to content
Anh Pham edited this page Dec 28, 2018 · 12 revisions

These are the steps to set up the workspace for the project for Code4Fun members:

  1. If you do not have a Github account, create one at http://github.com

  2. Code Editor I suggest using Visual Studio Code. VS Code can be downloaded at https://code.visualstudio.com/

After downloading Github and VS Code, have a read at this: https://code.visualstudio.com/docs/editor/versioncontrol

Summary of the most important points:

  • To get started, clone our project on Github: go to our project's Github page (https://github.com/bte234/code4fun) => click on the green button "Clone or download", copy the link provided => then open VS Code, then hit the keys ⇧⌘P (Command + Shift + P) if you're a Mac user, hit the keys (Ctrl + Shift + P) if you're a Windows user, to see the Command Palette prompt => begin to type "Git: Clone" and choose the first option shown => paste the URL of our project that you just copied into the Command Palette prompt => Choose a folder you want to save our project in your computer => Enter => Done!
  • Some essential steps (in order) we need to know to create a Pull Request (to get your code reviewed and approved):
  1. Type "git checkout -b " in the Terminal command line : create a branch to save your changes in
  2. After you're in this branch, only then you can start editing the code!
  3. After finishing editing the code, type: git add . (to add your changes to your branch)
  4. Then type : git commit -m (to commit your changes to the branch)
  5. Type: git push origin master : push your code to the main branch - master branch (a.k.a a pull request!) DONE!
  6. Wait for review (send Anh, Harry, Prashan or Amir a message to let them know that you have requested code review to them)

WIP

Clone this wiki locally