rezafaizarahman / unique-sun-51122

Jamstack site created with Stackbit

Home Page:https://jamstack.new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

โœจ unique-sun โœจ

This is a Gatsby site using Sanity as a CMS. It was created with Stackbit in under a minute.

You can create a site just like this one, or explore some variations. How about a different:

๐ŸŽจ  Look
โœ๏ธ  CMS
โš™๏ธ  Static site generator

Develop Locally

  1. Install Node.js and npm

  2. Install npm dependencies:

     npm install
    
  3. Get "stackbit-deploy (Read+Write)" API token from your Sanity management console

  4. Assign this access token to the SANITY_ACCESS_TOKEN environment variable:

     export SANITY_ACCESS_TOKEN={sanity_read_write_api_token}
    
  5. Run the following command to fetch the content from Sanity:

     npx @stackbit/sanity-pull --ssg gatsby --sanity-project-id b2nbllp8 --sanity-token $SANITY_ACCESS_TOKEN
    
  6. [Optional] Run Sanity Studio locally: install sanity-cli npm install -g @sanity/cli, navigate to the /studio directory, and run sanity install and sanity start. You may be required to login with the Sanity CLI.

  7. Start the Gatsby local development server:

     npm run develop
    
  8. Open http://localhost:8000/ in the browser

  9. ๐ŸŽ‰

Editing Content

To start editing your site, you can use the Sanity interface at https://unique-sun-51122.sanity.studio/.

Alternatively, you can use the free on-page editing experience provided by the Stackbit Studio.

Here's a few resources to get you started:

If you need a hand, make sure to check the Stackbit support page.

Colophon

Generated at 2021-05-31T16:39:22.561Z by Stackbit version 0.3.53.

About

Jamstack site created with Stackbit

https://jamstack.new

License:Other


Languages

Language:JavaScript 76.9%Language:SCSS 22.7%Language:Shell 0.4%