Skip to content

InternetFreedomFoundation/internetfreedom.in

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Internetfreedom.in Frontend

Website that powers internetfreedom.in, built using Ghost & Gatsby

Initail architecture and motivation can be found here.

Installing

# From Source
git clone https://github.com/TryGhost/gatsby-starter-ghost.git
cd gatsby-starter-ghost

Then install dependencies

yarn

 

Running

Create a .ghost.json file at the root of the repository with the following contents:

    
  {
    "development": {
      "apiUrl": "https://staging.internetfreedom.in",
      "contentApiKey": "c3fc08ee04d811676f240f1e40"
    },
  }

Start the development server. You now have a Gatsby site pulling content from headless Ghost.

yarn run dev

The following ENV variables are required for building the site: apiUrl & contentApiKey