gatsby

  Gatsby    ( https://www.gatsbyjs.com/docs/quick-start/ )


====================================


gatsby --version


--------------




Install the Gatsby CLI


npm install -g gatsby-cli




-------------

Create a new site



gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-hello-world



-------------


Change directories into site folder


cd gatsby-site


-------------------


Start development server



gatsby develop




Gatsby will start a hot-reloading development environment accessible by default at http://localhost:8000.


Try editing the home page in src/pages/index.js. Saved changes will live reload in the browser.

---------------------



Create a production build



gatsby build




-------------------



Serve the production build locally


gatsby serve



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











=========================



deploy on netlify


https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-hello-world









Popular posts from this blog

Tarana - Music Player