sfgeorge / sfgeorge.github.io

Stephen George's Website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sfgeorge.github.io

Stephen George's Website

Install

You can have a website like mine too!

First, make sure that you have the Gatsby CLI program installed:

npm install --global gatsby-cli

And run from your CLI:

gatsby new <site-name> https://github.com/anubhavsrivastava/gatsby-starter-grayscale

Then you can run it by:

cd gatsby-example-site
npm install
gatsby develop

Personalization

Edit config.js to put up your details

module.exports = {
  siteTitle: 'Gatsby Starter grayscale', // <title>
  ...
  heading: 'Anubhav Srivastava',
  subHeading: 'Full time Web Developer. Part time Open source contributor  ',

  // social
  socialLinks: [
    {
      icon: 'fa-github',
      name: 'Github',
      url: 'https://github.com/anubhavsrivastava',
    }
    ...
  ],
};

Deploying using Github page

package.json has a default script that uses gh-pages module to publish on Github pages. Simply running npm run deploy would publish the site on github pages.

Additionally, it also has path-prefix value set for gatsby config in config.js. Change pathPrefix to relevant path if your gatsby site is hosted on subpath of a domain, https://theanubhav.com/somePath/. If you are hosting it as root site, i.e, https://theanubhav.com/ , remove the pathPrefix configuration.

Contribution

Suggestions and PRs are welcome!

Please create issue or open PR request for contribution.

License

Open Source Love

refer to LICENSE file in this repository.

About

Stephen George's Website

License:MIT License


Languages

Language:JavaScript 79.0%Language:SCSS 21.0%