A lesson for learning to build apps and deploy to a service like GH Pages or Netlify
-
Everyone will do this assignment however you can work in groups to collaborate:
-
FORK this repository onto your github
-
Copy the https URL from your FORKED repo
-
Navigate to either a standalone Git Bash terminal or the integrated terminal in VS Code on your local machine and
cd
to a place you wish to clone this activity to work on it (either your personal coding development folder orDesktop
on MacOS orOneDrive/Desktop
on Win, NOT in ~ ) -
Once where you need to be in bash, run
git clone
followed by the URL you copied from your forked copy of this github repository -
Make sure and run
cd deploy-apps-lesson
to move into the repository folder -
In VSCode, select
File
in the top right, and selectOpen Folder
then find the folder you cloned nameddeploy-apps-lesson
and open it, OR -
Alternatively after running
cd deploy-apps-lesson
in the terminal runcode -a .
to directly open the folder in the window -
Familiarize yourself with the code first in
index.html
. -
Read the comments in the file and add the corresponding text content to customize the page to your own info, pay attention the comments for instructions
-
Move to the
assets
folder, then thecss
folder and finally click on thestyle.css
file to open in the editor window! Uncomment the color variables lines and feel free to change thergb
color values to change the color scheme -
Scroll to the bottom of the stylesheet to the media queries and put in comments an explanation of how we are affecting style on different screens
-
Save all files that are marked as having Unsaved changes
-
Go back to the terminal make sure you are inside
deploy-apps-lesson
directory then run
git add . git commit -m "Refactors resume page and stylesheet" git push origin main
-
-
Deploy your app on GH-Pages by selecting on your Github the main branch under
Settings --> Pages
, under Branch change the dropdown to themain
branch, then clickSave
- navigate to the link provided, OR -
Navigate to Netlify sign up for an account by authenticating thru the Github option, and follow these directions step-by-step-guide-deploying
-
When you are finished with the activity, drop a url link to your deployed app in the Chat or in the thread on our student Slack channel!
-
At the end of the allotted time, we will have a few learners share their deployed apps. You will be expected to raise your hand and guide the class to your deployed app.