From 49507b0f1ccc12ef930f7b1b0853b6460f74f35a Mon Sep 17 00:00:00 2001 From: sunwoo1524 Date: Thu, 4 Jul 2024 18:18:05 +0900 Subject: [PATCH] update setup.md for mastodon version --- setup.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/setup.md b/setup.md index 3f2cfc3..39c05ac 100644 --- a/setup.md +++ b/setup.md @@ -1,12 +1,10 @@ -# Misskey api key 발급받기 - -1. 설정 - api 접속 -2. 엑세스 토큰 생성 - **"노트를 작성하거나 삭제합니다"** 켬 - -# docker compose crontab 설정하기 +# Get mastodon access token +1. Preferences > Development > New Application +2. Set name of your app and enable `write` +3. Submit +# Set crontab with docker compose +If you want your bot to post every hour: ``` -docker compose -f 프로젝트경로/docker-compose.yml up +0 * * * * docker compose -f /docker-compose.yml up ``` - -을 crontab에 등록하시면 됩니다(아마도)