Installation
Gatsby Docs Kit was designed from the ground up to be easily installed and used to get your website up and running quickly. We have created a starter that contains example docs. To start:
-
Ensure you have the latest version of Node installed. We also recommend you install Yarn as well.
While we recommend using latest Node version, your Node version must be at least 8.x.
-
Ensure you have Git installed.
-
Go into the root of your GitHub repo directory where you will be creating the docs.
-
Run
git clone <TODO STARTER GIT>
-
Go to
docs/www
and runyarn install
Verifying Installation
Along with previously existing files and directories, your root directory will now contain a structure similar to:
.
├── docs
│ ├── getting-started
│ │ ├── creating-site.md
│ │ ├── installation.md
│ │ ├── introduction.md
│ │ └── publishing.md
│ ├── ...
│ └── www
│ ├── src
│ │ ├── pages
│ │ │ └── ...
│ │ ├── layouts
│ │ │ └── ...
│ │ ├── templates
│ │ │ └── ...
│ │ └── globalReferences.js
│ ├── gatsby-docs-kit.yml
│ ├── gatsby-docs-kit-temp.json
│ └── package.json
If you are still in www
directory, then
- Run the local webserver via
yarn develop
ornpm develop
. - Load the example site at http://localhost:8000. You should see the example site loaded in your web browser.
- Visit http://localhost:8000/___graphql to explore your site's GraphiQL data and schema.