https://github.com/utkuufuk/subsops
Subscriber manager for my blog.
https://github.com/utkuufuk/subsops
Last synced: 7 months ago
JSON representation
Subscriber manager for my blog.
- Host: GitHub
- URL: https://github.com/utkuufuk/subsops
- Owner: utkuufuk
- License: mit
- Created: 2019-01-01T07:28:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T17:09:32.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T07:48:40.059Z (8 months ago)
- Language: HTML
- Homepage: https://utkuufuk.com
- Size: 596 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# subops
Manages subscriber operations for [my blog](https://utkuufuk.com).## Configuration
### Set Remote Configuration
```sh
firebase functions:config:set mailgun.api_key=
firebase functions:config:set mailgun.domain=
firebase functions:config:set mailgun.email=
```### Import Remote Configuration to Local Environment
```sh
firebase functions:config:get > functions/.runtimeconfig.json
```## Dev Setup
Within the `funcitons` dir:
```sh
# 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 `` and `` values.2. Serve functions locally:
```sh
npm run serve
```3. Run `./publish.sh`