This file contains 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
sudo gem install nokogiri -- --use-system-libraries=true --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/libxml2 |
This file contains 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
docker exec -it 8e0661344f83 bash |
This file contains 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
yum -y groupinstall "MYSQL Database Client" |
This file contains 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
postgres -D /usr/local/var/postgres |
This file contains 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
[mysqld] | |
#bulk_insert_buffer_size=512M | |
# Allow external connections: | |
bind-address = 0.0.0.0 | |
# only localhost | |
bind-address = 127.0.0.1 | |
# or on mysql cli: | |
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; |
This file contains 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
Seleccionar el commit con el sourcetree. | |
git reset HEAD^ --hard | |
git push origin -f HEAD:develop |
This file contains 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
ifup eth0 | |
vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
--------------- | |
DEVICE=eth0 | |
TYPE=Ethernet | |
ONBOOT=yes | |
BOOTPROTO=dhcp | |
IPV4_FAILURE_FATAL=yes | |
--------------- |
This file contains 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
default: &default | |
adapter: <%= ENV["DB_ADAPTER"] || "mysql2" %> | |
encoding: utf8 | |
url: <%= ENV["DATABASE_URL"] %> | |
pool: <%= ENV["DB_POOL"] || 5 %> | |
checkout_timeout: <%= ENV["DB_TIMEOUT"] || 5 %> | |
reconnect: true | |
development: | |
<<: *default |
This file contains 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
version: '2' | |
services: | |
webtest: | |
build: | |
context: . | |
dockerfile: doc/docker-conf/web/Dockerfile-test | |
volumes: | |
- .:/usr/src/app | |
command: bash -c "bundle check || bundle install; rm -f /usr/src/app/tmp/pids/server.pid ; rails s -p 3000 -b 0.0.0.0" | |
environment: |
OlderNewer