Skip to content

MuhammadMohsin/PanacloudBootcamp2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Bootcamp 2020 Class 1: Setup Website Development Environment

I took the following steps, all bootcampers should also do this on there own repos

  1. Signup on GitHub.com and Install GitHub Desktop on your computer

https://desktop.github.com/ (For Mac and Windows users) https://github.com/shiftkey/desktop#debianubuntu-distributions (For Linux users)

  1. Using Github Desktop create new public repo and publish it on GitHub.com

  2. Install VS Code, we will use it as our code editor

https://code.visualstudio.com/download

  1. Create a simple hello world html file and name it index.html. Using GitHub desktop commit the code and push it.

  2. Install Node.js

https://nodejs.org/en/download/

  1. Install Surge

npm install --global surge

  1. Generate Surge token by the following command

surge token

  1. Save the surge token in the repo's GitHubs secrets

  2. Watch Introduction to GitHub Actions

https://www.youtube.com/watch?v=eB0nUzAI7M8

  1. Learn YAML

https://rollout.io/blog/yaml-tutorial-everything-you-need-get-started/

  1. Configuring a Github Actions Workflow

https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions

https://help.github.com/en/actions/configuring-and-managing-workflows/configuring-a-workflow

  1. Learn and create surge deployment action file in root of your repo in .github/workflow directory like I have done

  2. Make small change in your index.html, commit it and push it again to github.com

  3. Check the action tab to GitHub website and see if the action executed

  4. open website in browser

http://bootcamp2020_sample1.surge.sh/

  1. Submit your github repo URL here in the issues of the assignment repo

  2. For further details, please watch this video link:

https://youtu.be/LMfzLGdwB2s

NOTE: Assumption is that you know HTML, CSS, and JavaScript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages