Skip to content

Instantly share code, notes, and snippets.

@Fedcomp
Created December 20, 2015 09:50
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 Fedcomp/04f5e61c3c0f3d2fe8c6 to your computer and use it in GitHub Desktop.
Save Fedcomp/04f5e61c3c0f3d2fe8c6 to your computer and use it in GitHub Desktop.
Rails taps working configuration Mysql -> Postgresql (Ubuntu 14.04/15.10) (20.12.2015)
source "https://rubygems.org"
gem 'taps', git: 'git://github.com/eric1234/taps.git', branch: 'patch-1'
gem 'mysql2'
gem 'sqlite3'
gem 'pg'
gem 'rack','1.0.1'
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock
bundle install
bundle exec taps server mysql2://%database_user%:%database_user_password%@localhost/%database% %http_login% %http_password% &
bundle exec taps pull postgres://%postgree_user%:%postgree_user_password%@localhost/%postgree_database% http://%http_login%:%http_password%@localhost:5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment