GCC Website
This is the official repository for the GCC website, feel free to make pull requests if you're a part of BHS GCC.
Install
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/nlaha/GCCSite
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: 'GCC Site', // <title>
...
heading: 'Nathan Laha',
subHeading: 'Programmer',
// social
socialLinks: [
{
icon: 'fa-github',
name: 'Github',
url: 'https://github.com/nlaha',
}
...
],
};
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://nlaha.com/somePath/
. If you are hosting it as root site, i.e, https://nlaha.com/
, remove the pathPrefix configuration.
License
refer LICENSE
file in this repository.