Skip to content

nwolisaemmanuel2-zz/oscghana-website

 
 

Repository files navigation

Getting Started

git clone https://github.com/<your username>/oscghana-website.git && cd oscghana-website

Installation Guides

  • Install the Gatsby CLI
npm install -g gatsby-cli
  • Change directories into site folder in your computer
cd oscghana-website
  • Create and checkout to a new branch for your features
git checkout -b about-us-component
  • Start development server
npm run develop

Gatsby will start a hot-reloading developments environment accessibles by default at localhost:8000

  • Create a production build
npm run build

Gatsby will perform an optimized production build, generating static HTML and per-route JavaScript code bundles.

  • Serve the production build locally
npm run serve

Gatsby starts a local HTML server for testing the built site. Remember to build the site using gatsby build before using this command.

  • Make Git commits
git commit -m "commit messages"

Format and lint

  • See what ESLint and Prettier can fix
npm run analyze
  • Run Prettier and ESLint with the --fix options
npm run fix

Releases

No releases published

Packages

No packages published

Languages

  • CSS 59.9%
  • JavaScript 40.1%