- Download Git
- Download XAMPP
- Clone this repository in your XAMPP > htdocs folder. How?
Note: Make sure you have Git and Xampp installed.
- Open your File Explorer and enter the address
C:\xampp\htdocs
- Hold
Shift
while right clicking in the folder and selectOpen Windows Powershell
orOpen Console Command
- Type in
git clone https://github.com/themonstrousdev/dostv-ibm.git
in Windows Powershell/Console Command and hitEnter
.
- The folder should now appear in your htdocs folder.
- To update the folder to match the changes in the online repository, follow step 2 inside your dostv-ibm folder and type
git pull https://github.com/themonstrousdev/dostv-ibm.git
.
- To view the website, open XAMPP and turn on Apache and MySQL (for when we have backend.)
- Navigate to your preferred browser and type in the address
localhost/dostv-ibm
and you should be able to view the website as intended.
-
Make a Github account and send me your Github username.
-
Open VSCode and open your
dostv-ibm
folder. -
WHEN YOU FIRST OPEN VSCODE AND THE REPOSITORY, DO NOT SKIP THIS STEP. Navigate to the Git tab (third tab on the left)
Open the Git Menu (three small buttons on the top right hand-side of the sidebar) and select
Check out to...
and choose the optionorigin/dev
. -
Before starting any code session, always do a pull request. Open the Git Menu and select
Pull from...
. Choose the optionorigin
>origin/master
. Check that your Git commit input bar (located under the Git sidebar header) saysMessage (Ctrl+Enter to commit on 'dev')
. If it does not, follow step 7. -
After a coding session, always stage, commit, and push. All changes should appear under the
Changes
category in your Git tab. To stage a change, hover over the file name, and click the+
sign that appears on the left hand side.The file/s you've staged, should then appear in a new category called
Staged Changes
.Type in the Git commit input bar the type of change these files are.
Hit
Ctrl + Enter
and the staged changes should then be committed. Once you have staged and committed all changes, open the Git menu and selectPush
.