-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
20 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CONSUMER_KEY= | ||
CONSUMER_SECRET= | ||
API_KEY= | ||
API_KEY_SECRET= | ||
ACCESS_TOKEN= | ||
ACCESS_TOKEN_SECRET= | ||
WEB_HOOK_URL= | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
# ameblo-notify-v2 | ||
* maintainer: [Asha](https://github.com/asha-ndf) | ||
* 試験運用中 | ||
* 追記予定 | ||
* 追記予定 | ||
## 概要 | ||
* [SSSRCのアメブロ](https://ameblo.jp/sssrc/)に新規投稿があれば、TwitterとSlackに自動投稿するBotです。 | ||
* TwitterのAPI変更に伴い新しくしました。 | ||
|
||
## セットアップ | ||
### ローカル | ||
* `pip install -r requiremnts.txt`で必要なパッケージをインストールしてください。 | ||
* [.env_example](.env_example)を参考に`.env`を作成してください。 | ||
* `ACCESS_TOKEN`と`ACCESS_TOKEN_SECRET`が未発行の場合は、`init.py`を実行して発行してください。 | ||
### GitHub上 | ||
* `.env`の環境変数をGitHub Secretに設定してください。 | ||
|
||
|
||
## 注意 | ||
* `.env`や`.token`はgitignoreしていますが、誤って鍵を載せることの無いように注意してください。 |