This repo includes several packages:
studio
- sanity studiogatsby-theme-portal
- Gatsby theme for the portaltl-ph
- Gatsby website, based ongatsby-theme-portal
tl-ph
supports configuration files (packages/tl-ph/.env.tl-ph
, packages/tl-ph/.env.develop
) where you can specify required env vars.
Currently , it supports default search integration with algolia provided by Platform Liberty. To override it , please use following to use your own algolia account:
1. Go to gatsby-theme-portal and uncomment the gatsby-algolia-plugin and provide the Algolia Admin key to start indexing in your agency account.
2. update the Algolia App ID and search key.
# Installation
1. run `yarn` from repo root
2. put `.env.development` file with proper details from tl-ph environment file.
2. that's it :)
## Commands
1. Run gatsby website: `yarn workspace tl-ph develop`
2. Run sanity studio: `yarn workspace platform-liberty-studio dev`
3. Build Studio: `yarn workspace platform-liberty-studio build`
4. Build Gatsby Website: `yarn workspace tl-ph build`