Quick Start
1. Requirements
Before proceeding you'll need to have the latest stable nodejs.
2. Install
Open the project folder and install its dependencies. You can use any package manager you want. We recommend yarn. But you can use also npm.
cd [project folder]/gatsbyjs
yarn install
3. Start
Once the installation is done, you can now start your app by running npm run develop
or yarn develop
.
yarn develop
This starts a local webserver at http://localhost:8080
and auto detect file changes:
You can now view ui-demo-js--gatsby in the browser.
http://localhost:8000/
View GraphiQL, an in-browser IDE, to explore your sites data and schema
http://localhost:8000/___graphql
Note that the development build is not optimized.
To create a production build, use gatsby build.
success - Building development bundle
3. Build
yarn build
You can also use npm run build
.