My own portfolio website created with Gatsby and hosted with Netlify.
This code was created using the gatsby-starter-resume template and refactored to receive information from a single file.
yarn install
gatsby develop
A local deployment should be hosted on http://localhost:8000/
To edit information on the website, simply edit the config.js
file with your details.
To add svg images for company logos, please insert it into src/assets/svg/logos
.
gatsby build
gatsby serve
You will need to go to a domain registrar to purchase your own domain name. Namecheap provides a free .me
domain for university students for 1 year.
This repository is currently hosted on Netlify on their starter plan (free).
- Create a Netlify account
- Click
New site from Git
- Select
Github
- Select the repository you would like to host
- Go to
Settings
->Build & deploy
->Edit settings
- Change Build command to
gatsby build
- Change Publish directory to
public/
Your repository should now be automatically deployed on every push to master
!
As discussed above, this repository has been set up to automatically deploy any changes to the master
branch. master
branch has been locked so it requires pull requests to be changed.
Gatsby Starter Link: https://www.gatsbyjs.org/starters/anubhavsrivastava/gatsby-starter-resume/