Skip to content

Latest commit

 

History

History
69 lines (44 loc) · 2.14 KB

README.md

File metadata and controls

69 lines (44 loc) · 2.14 KB

Minimum Viable Marketing

The marketing site for the Minimum Viable Ceremonies app.

It's written on the excellent Gatsby framework.

🔧 Developing.

gatsby develop

🚀 Building for production.

gatsby build

✍🏻 Populating blog content

This site uses Ghost as a blogging platform, pulling in articles given in a certain list view.

Our ghost content is hosted at https://ghost.minimal.cards

In order to pull in the articles from Ghost, you'll need to supply a content API token:

GHOST_API_KEY="<token_id>"

Running gatsby develop will automatically pull in any new blog content. Note that in order to update existing articles, you'll need to run gatsby clean beforehand ✌️

💫 Deploying.

Pushing to the master branch of this repo will automatically publish to firebase:

https://minimal.cards/

👀 Analytics

In order to enable Matomo for analytics in development (for example to test out some new analytics functionality), create an .env.development file, with the following values:

MATOMO_URL=https://stats.minimal.cards/piwik/
MATOMO_SITE_ID=3

To view the analytics coming through, visit the analytics dashboard and ensure you're viewing the Minimum Viable Marketing (dev) site.

💬 LiveChat

To view the Freshchat widget, put the following into an .env.development file:

FRESHCHAT_TOKEN=<API_TOKEN>
FRESHCHAT_HOST=https://wchat.au.freshchat.com

📖 Translating

Visit our translation page to translate Minimum Viable Ceremonies into your language!

In order to publish or sync translations, you'll need to set an API key for Crowdin:

CROWDIN_API_KEY=<API_TOKEN>