Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HugoPoi/b2d825fd169fa54d3017cb9c2acb5d61 to your computer and use it in GitHub Desktop.
Save HugoPoi/b2d825fd169fa54d3017cb9c2acb5d61 to your computer and use it in GitHub Desktop.
Install Mastodon-Twitter Crossposter on Docker

Setup on Docker

Start the stuff

  1. docker-compose up -d --build

Setup the db

  1. docker exec mastodon-twitter-poster_web_1 bundle exec rake db:setup ^ this crash because it assume you have psql localy and direct connection
  2. cat db/structure.sql | docker exec -i mastodon-twitter-poster_db_1 psql --user postgres --db mastodon_twitter_poster_production

Other usefull command

  • Connect to the db docker exec -it mastodon-twitter-poster_db_1 psql --user postgres --db mastodon_twitter_poster_production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment