2.0 KiB
2.0 KiB
Tools:
- Github
- website
- Jekyll
-
Prose
- Terminal
This is where your own personal website lives. It is hosted via github for free and fully customizable to your heart's content so make sure to take full advantage of it!
- this is what your portfolio site looks like currently.
- and this is your github repo where your code files live
Publish files to a gh-pages
branch on GitHub (or any other branch anywhere else). Do the following:
npm install gh-pages --save-dev
or to add to a different branch:
yarn add gh-pages
How to Host a website on Github Pages. We can host a static HTML website for free on Github. You can only host static websites (HTML, CSS, JavaScript, including react, angular, bootstrap). You won't be able to upload a web application with a server (python flask/django, ruby on rails, node.js/express, etc). The steps are as followed:
- Create a GitHub account and login
- Create a repository and name it {username}.github.io if it's a personal website; else, name it whatever you like.
- Upload your web page files to the new repository
- Go to settings, pages, and click on source. Change 'none' to 'master' or 'main' (or whichever branch you'd like) Your website will have this structure: {username}.github.io/{repository-name}
- To add a custom domain to your website, check out this video: • How to add a Cust...
- Also here are a list and video tutorials of web projects
Getting my Github back up again.
git clone
my repository into a folder- if there are dependency issues use
yarn install
Tips: