journalist application package for dcape.
Instead using Redacteur, you may use make:
Add user:
$ make user-add USER=johndoe PASS=MySecretPassword123
{"success":true,"user":{"id":"...","username":"johndoe","role":"user"},"message":""}
Add token:
$ make token-add USER=johndoe PASS=MySecretPassword123 TOKEN_NAME=mobile
{"success":true,"token":{"id":"...","type":"qat","tokenname":"mobile","token":"..."},"message":""}
Add feed:
$ make feed-add USER=johndoe PASS=MySecretPassword123 FEED_NAME=habr-best FEED_GROUP=IT FEED_URL=https://habrahabr.ru/rss/best/
{"success":true,"feed":{"id":"...","name":"habr-best","url":"https://habrahabr.ru/rss/best/","group":"IT"},"message":""}
- Gitea: Fork or mirror this repo in your Git service
- Drone: Activate repo
- Gitea: "Test delivery", config sample will be saved to enfist
- Enfist: Edit config and remove .sample from name
- Gitea: "Test delivery" again (or Drone: "Restart") - app will be installed and started on webhook host
git clone --single-branch --depth 1 https://github.com/dopos/dcape-app-journalist.git
cd dcape-app-journalist
make config
... <edit .env.sample>
mv .env.sample .env
make up
The MIT License (MIT), see LICENSE.
Copyright (c) 2023 Aleksei Kovrizhkin [email protected]