Created
December 20, 2015 09:50
-
-
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)
This file contains hidden or 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
| 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' |
This file contains hidden or 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
| 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