utkuufuk / subsops

Subscriber manager for my blog.

Home Page:https://utkuufuk.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

subops

Manages subscriber operations for my blog.

Configuration

Set Remote Configuration

firebase functions:config:set mailgun.api_key=<api_key>
firebase functions:config:set mailgun.domain=<domain>
firebase functions:config:set mailgun.email=<admin_email>

Import Remote Configuration to Local Environment

firebase functions:config:get > functions/.runtimeconfig.json

Dev Setup

Within the funcitons dir:

# install or upgrade firebase-tools globally
npm install -g firebase-tools

# update both the CLI and the SDK
npm install firebase-functions@latest firebase-admin@latest --save

# install dependencies
npm install

# login
firebase login

Publishing Blog Posts

  1. Update publish.sh with the correct <post_header> and <post_url> values.

  2. Serve functions locally:

    npm run serve
  3. Run ./publish.sh

About

Subscriber manager for my blog.

https://utkuufuk.com

License:MIT License


Languages

Language:HTML 74.6%Language:TypeScript 24.8%Language:Shell 0.6%