mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 04:01:06 -05:00
17 lines
493 B
Markdown
17 lines
493 B
Markdown
# Greptweet
|
|
|
|
## Setup
|
|
|
|
Set `access_token` in envfile. You should be able to get it from [creating a new Twitter app](https://dev.twitter.com/apps/new).
|
|
|
|
curl -X POST "https://api.twitter.com/oauth2/token" -d "grant_type=client_credentials" -u consumerKey:consumerSecret
|
|
|
|
echo 'access_token=secret' > envfile
|
|
docker run -d --restart=unless-stopped --name greptweet --env-file envfile -p 8888:80 hendry/greptweet
|
|
|
|
## Maintenance
|
|
|
|
Backing it up:
|
|
|
|
docker cp greptweet:/srv/http/u/ /tmp/backup
|