internetfreedom.in
1.0.0
Ghost&Gatsbyを使用して構築されたInternetFreedom.inを強化するWebサイト
ここでは、イニシャルアーキテクチャとモチベーションがあります。
# From Source
git clone https://github.com/TryGhost/gatsby-starter-ghost.git
cd gatsby-starter-ghost次に、依存関係をインストールします
yarn次の内容を使用して、リポジトリのルートに.ghost.jsonファイルを作成します。
{
"development" : {
"apiUrl" : " https://staging.internetfreedom.in " ,
"contentApiKey" : " c3fc08ee04d811676f240f1e40 "
},
}
開発サーバーを開始します。これで、Gatsbyサイトがヘッドレスゴーストからコンテンツを引っ張っています。
yarn run devサイトの構築には、次のENV変数が必要です: apiUrl & contentApiKey