1.0.0 • Published 10 years ago
snapgit v1.0.0
Snapgit.com
This site uses Gatsby to generate a static site hosted on GH Pages.
Local Development
Dependencies
This project depends on Node (^5.10.1) and NPM (^3.8.6).
Install
Run npm i to install all dependencies.
Development
Run npm start to start webpack with file watching and a server.
The site will be available at http://localhost:8000.
Scripts
Linting
This project uses CSS and JS linting. To run both linters:
npm run lintFor CSS linting, run:
npm run lint:cssFor JS linting, run:
npm run lint:jsBuild
To generate a local build of the static site, run:
npm run buildDeploy
To deploy a local build of the static site to GH pages (must have permissions), run:
npm run deployPublish
To generate a local build of the static site, and publish it to GH Pages, run:
npm run publish1.0.0
10 years ago