ENVATO WEB-APP - FRONTEND

Installation

  1. Click on Fork button at the top right corner to fork the repo.

  2. Clone your forked repository to your local environment.

  3. Navigate into the cloned folder - cd envatoweb-app

  4. Add upstream - git remote add upstream https://github.com/Netacci/envatoweb-FE.git (Your forked repo url)

  5. Pull updates from the upstream - git pull upstream develop

  6. Create a new branch for the feature you're working on - git checkout -b [Feature]

e.g git checkout -b user_registration


Naming Convention

  1. Make sure you place your files in the appropriate folder you are working on.

  2. Properly link your CSS and JS files(They should be in an asset folder)

  3. Your pages should be named according to what you are working on e.g login.html login.css e.t.c

  4. All your CSS files, images and Js files should be placed in the GENERAL ASSETS folder. Only your html file should be on the page folder.


Creating a pull request

  1. To ensure you're on the right branch run git branch

  2. If everything is okay stage your changes - git add .

  3. And then commit - git commit -m "Commit Message"

  4. Pull upstream to avoid merge conflicts - git pull upstream develop

  5. Push to your forked repo - git push origin develop

  6. Go to the repository https://github.com/Netacci/envatoweb-FE.git

  7. As soon as you get there, you are going to see a green ‘compare and create a pull request’

  8. Click on it, and type your message, click on create pull request.