Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinambrus/dreamcatcher
A trainable RSS reader to allow you to concentrate on what's important to you.
https://github.com/martinambrus/dreamcatcher
rss rss-aggregator rss-feed-scraper rss-generator rss-reader
Last synced: 10 days ago
JSON representation
A trainable RSS reader to allow you to concentrate on what's important to you.
- Host: GitHub
- URL: https://github.com/martinambrus/dreamcatcher
- Owner: martinambrus
- Created: 2023-07-05T12:18:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-04T23:21:06.000Z (about 1 year ago)
- Last Synced: 2024-10-26T21:21:25.871Z (about 2 months ago)
- Topics: rss, rss-aggregator, rss-feed-scraper, rss-generator, rss-reader
- Language: TypeScript
- Homepage:
- Size: 1.32 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install and run on Debian-based Linux (Ubuntu etc.)
- `sudo apt update`
- (optional) `sudo apt upgrade -y` (and then possibly `sudo reboot`)
- `sudo apt install -y ca-certificates curl gnupg`
- `sudo mkdir -p /etc/apt/keyrings && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg`
- `NODE_MAJOR=20 && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list`
- `sudo apt-get update && sudo apt-get install nodejs -y`
- `sudo install -m 0755 -d /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg && sudo chmod a+r /etc/apt/keyrings/docker.gpg`
- `echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null`
- `sudo apt-get update && sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin -y`
- `git clone https://github.com/martinambrus/dreamcatcher.git && cd dreamcatcher`
- `mv .env.dev.example .env`
- `mkdir -m 777 -p infrastructure/datadir/kafka_dev_data && mkdir -m 777 -p infrastructure/datadir/pgdata_dev && mkdir -m 777 -p infrastructure/datadir/kafka_0_data && mkdir -m 777 -p infrastructure/datadir/kafka_1_data && mkdir -m 777 -p infrastructure/datadir/kafka_2_data && mkdir -m 777 -p infrastructure/datadir/elastic && mkdir -m 777 -p infrastructure/datadir/elastic/esdata01 && mkdir -m 777 -p infrastructure/datadir/elastic/esdata02 && mkdir -m 777 -p infrastructure/datadir/elastic/esdata03 && sudo chown -R 1001:1001 infrastructure/datadir/pgdata_0 && sudo chown -R 1001:1001 infrastructure/datadir/pgdata_1 && sudo chown -R 1001:1001 infrastructure/datadir/pgdata_2 && sudo chown -R 1001:1001 infrastructure/datadir/elastic/esdata01 && sudo chown -R 1001:1001 infrastructure/datadir/elastic/esdata02 && sudo chown -R 1001:1001 infrastructure/datadir/elastic/esdata03`
- `sudo chown -R 1001:1001 infrastructure/datadir/kafka_dev_data && sudo chown -R 1001:1001 infrastructure/datadir/pgdata_dev && sudo chown -R 1001:1001 infrastructure/datadir/kafka_0_data && sudo chown -R 1001:1001 infrastructure/datadir/kafka_1_data && sudo chown -R 1001:1001 infrastructure/datadir/kafka_2_data`
- `sudo chmod +x *.sh && sudo ./start_docker-dev.sh`If you're trying to run **production** environment, for Elastic Search to work please make sure that:
- on **Windows** using WSL, execute the following in your PowerShell: `wsl -d docker-desktop sysctl -w vm.max_map_count=262144`
- on **Linux** (this one is for Ubuntu 20+), edit the file `/etc/sysctl.d/99-sysctl.conf` and add the following line: `vm.max_map_count=262144` and reboot. Generally on Linux, follow this advice from the official from Elastic Search website: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#_linux# Notes
- if you're developing, don't forget to run `npx prisma generate` in the [dreamcatcher-db](https://github.com/martinambrus/dreamcatcher-db) repository every time your database structure changes to keep your client updated!