Follow these steps to set up, run, and deploy your website!
a. Open VSCode and drag in the downloaded folder.
b. Open a terminal in VSCode.
Make sure you have git and Node.js installed on your system.
a. https://git-scm.com/install/
b. https://nodejs.org/en/download
If you want to make hot reloaded changes, run the developer server to see real time changes for you website as you develop.
Unblock-File .\dev.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
.\dev.ps1chmod +x dev.sh
./dev.shThis step allows for you to put your website on the internet (through github pages). Make sure to add your github username and repo name exactly as how you made it in your github to properly deploy. The files in the folder should show up in your github.
Unblock-File .\dev.ps1
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
.\deploy.ps1 <github-username> <repo_name>chmod +x dev.sh
./deploy.sh <github-username> <repo_name>To make any changes after deployment, you have to edit the file and sync the local edits with the remote github file. This can be done by running the git add command.
Unblock-File .\gitadd.ps1
.\gitadd.ps1chmod +x gitadd.sh
./gitadd.shUse the devloper mode to make instant changes to your website to view and edit to your liking. Once you feel satisfied, add these changes to git using the git command in step 4 to make the changes appear on the website online. This is the typical workflow of a web developer!
Open up https://.github.io// in your browser to see your very own website! Congratulations!