This website displays the student portfolio of work for a fictitous Jane Doe. It makes use of the bootstrap framework. The main file index.html is released to the public domain.
Follow these steps to use this repository (assumes a Linux / Apache2 server with public_html web folders and git):
-
To see your globals type:
git config --list
-
If missing email or name then give the next two commands:
a. git config --global user.email "[email protected]"
b. git config --global user.name "First Last"
- Change into your public_html folder and type:
git clone https://github.com/profphillips/portfoliobootstrap.git
-
cd portfoliobootstrap
-
Create a new empty (don't even have a readme file) repository on GitHub -- perhaps named portfolio2.
-
git remote -v
-
Change the remote to your new repository:
git remote set-url origin https://github.com/youraccountname/portfolio2.git
-
Check the remote again and make sure it points to your repository:
git remote -v
-
Make some changes to index.html and save
-
git status
-
git add .
-
git status
-
git commit -am "your comment here"
-
git status
-
git push -u origin master
-
Make more changes. If no new files are added you can just type:
a. git commit -am "new comment"
b. git push
- Verify your files are in your new repository on GitHub.