Skip to main content

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

Tarana  is a music player that offers features such as shuffle, song sharing, themed playlists, a variety of genres, search, and filters. video Live Demo on iamsonukushwaha.github.io/tarana Code here github.com/iamsonukushwaha/tarana

cool projects

Sonu Kumar Kushwaha has created several impressive projects, showcasing his creativity and technical prowess.  

Be a Flamingo In a Flock of Pigeons

                        To decipher the meaning of this saying, we need to start at the beginning. Flamingos are beautiful pink birds with unusual pink colored feathers. They are also unique for their “standing on one leg” pose, which no one knows for sure what it serves for. These birds can be found on almost every continent, but their uniqueness makes them a special experience for everyone lucky enough to see them in the wild. They live in large flocks and are very social birds. Because of these traits and their uniqueness, they are considered a rare and unusual appearance. On the other hand, pigeons are widely spread birds, as well, but they are a way more common sig...