Skip to content

Prismic theme contains the prismic custom-types shared by bfo users

Notifications You must be signed in to change notification settings

wizaplace/bfo-prismic-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

bfo-prismic-theme

This repo contains the Prismic custom-types used by BFO instances.

Follow the instructions below to create a Prismic repo for a new BFO instance.

Prerequisities

  • Create a new Prismic account for the client.
  • Create a new mail address or gmail alias for the client and add this email to the Prismic users list.
  • Recommended Node version: 16.13.0.

Install prismic cli

npm install -g prismic-cli

Run the command to use a theme and create the repo

The command should ask you to login to Prismic, then ask the name of the new prismic repo

prismic theme --theme-url https://github.com/wizaplace/bfo-prismic-theme --conf prismic-configuration.json

Once the new repo is created

  • Visit https://prismic.io/dashboard and choose the new repo.
  • Go to settings > API & security > generate an access token.
  • Create the token and copy it to the env var PRISMIC_TOKEN.
  • Update the env var PRISMIC_URL to https://{name-of-new-repo}.prismic.io/api/v2
  • Go to settings > Translations & locales, setup as needed.
  • Add the 8 necessary documents (home, footer, header, notfound, landing_vendor, about_us, cookies), then copy each doc for each locale, and finally publish each of them.

About

Prismic theme contains the prismic custom-types shared by bfo users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published