update readme to refelect clojure rewrite
This commit is contained in:
parent
d8d47e72a7
commit
d72eb668c8
1 changed files with 20 additions and 30 deletions
50
README.md
50
README.md
|
|
@ -1,39 +1,29 @@
|
||||||
# Micro Blog Repo Fetchers
|
# Micro Blog Fetchers
|
||||||
|
|
||||||
The Micro Blog Repo is a personal project of mine to aggregate, backup, and make
|
The Micro Blog Fetchers is an app I made to aggregate, backup, and make
|
||||||
my various social media posts. It is made up of a self-hosted [PocketBase](https://pocketbase.io/)
|
my various social media posts available for my
|
||||||
and these lambda function.
|
[personal site](https://travisshears.com).
|
||||||
|
|
||||||
## Progress
|
The app is comprised of a clojure app and a data layer that is my self-hosted [PocketBase](https://pocketbase.io/)
|
||||||
|
instance.
|
||||||
|
|
||||||
- [X] BlueSky
|
## Progress since switching to Clojure
|
||||||
- [X] Pixelfed
|
|
||||||
- [X] Mastodon
|
- [ ] BlueSky
|
||||||
- [X] Nostr
|
- [ ] Pixelfed
|
||||||
|
- [ ] Mastodon
|
||||||
|
- [ ] Nostr
|
||||||
|
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
To deploy all the lambda functions to AWS:
|
TODO
|
||||||
|
|
||||||
```shell
|
## Project history
|
||||||
$ yarn deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
After the deploy to manually trigger a fn run:
|
- June 2024: Initial commit
|
||||||
|
- July 2023: App is up and running logic is written in Typescript and deployed as AWS Lambda functions. My pocketbase instance is running on fly.io
|
||||||
```shell
|
- May 2025: With my homelab [Nomad](https://developer.hashicorp.com/nomad)
|
||||||
$ yarn exec serverless invoke --function bluesky
|
cluster running I'm switching most of my personal apps to on-prem. Pocketbase instance is already running on-prem.
|
||||||
```
|
For this app I swap Serverless for docker container. App now deployed on-prem and the docker containers run once per hour
|
||||||
|
thanks to Nomad's job scheduling.
|
||||||
## Local development
|
|
||||||
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ nvm use
|
|
||||||
$ yarn exec serverless invoke local --function bluesky
|
|
||||||
```
|
|
||||||
|
|
||||||
_note: insure you are on the correct version of nodejs, 20_
|
|
||||||
|
|
||||||
There is also the new `serverless dev` command. I still need to check that out.
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue