ibnhabib / pakistnacargoabudhabi

Jamstack site created with Stackbit

Home Page:https://jamstack.new

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

โœจ interesting-neptune โœจ

This is a Gatsby site using Contentful 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 "Content Delivery API - access token" from your Contentful project space

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

     export CONTENTFUL_ACCESS_TOKEN={contentful_delivery_api_access_token}
    
  5. Assign your contentful space id to the CONTENTFUL_SPACE_ID environment variable:

     export CONTENTFUL_SPACE_ID={contentful_space_id}
    
  6. Fetch the content from Contentful:

     npx @stackbit/contentful-pull --ssg gatsby --contentful-space-id $CONTENTFUL_SPACE_ID --contentful-access-token $CONTENTFUL_ACCESS_TOKEN
    
  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 Contentful interface at https://app.contentful.com/spaces/a1p0qyqu3vcp.

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-06-12T13:07:07.485Z by Stackbit version 0.3.53.

About

Jamstack site created with Stackbit

https://jamstack.new

License:Other


Languages

Language:JavaScript 67.8%Language:SCSS 31.8%Language:Shell 0.3%