-
Install Node.js and npm
-
Install npm dependencies:
>npm install
-
get "stackbit-api-key" from project menu in Stackbit dashboard
-
run the following command to assign this key to
STACKBIT_API_KEY
environment variable:>export STACKBIT_API_KEY={stackbit_netlify_api_key}
-
run the following command to fetch additional site contents from Stackbit if needed:
>npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5e1a2be47e184700194abf9d
-
Starts a development server
>npm run develop
-
Browse to http://localhost:8000/
edwinnduti / dev.to-static-site Goto Github PK
View Code? Open in Web Editor NEWLicense: Other