#Configuração Inicial
Primeiro inicie o repositório apontando para o svn
$ git svn init http://svn.endereco.repo.com/ nome_da_pasta_local
depois, baixe o repositório (esse passo demora... muito.)
$ git svn fetch
| /* | |
| On OS X, basic text manipulations (left, right, command+left, etc) make use of the system key bindings, | |
| and don't need to be repeated here. Anything listed here will take precedence, however. | |
| */ | |
| [ | |
| { "keys": ["super+shift+n"], "command": "new_window" }, | |
| { "keys": ["super+shift+w"], "command": "close_window" }, | |
| { "keys": ["super+o"], "command": "prompt_open" }, | |
| { "keys": ["super+shift+t"], "command": "reopen_last_file" }, | |
| { "keys": ["super+alt+up"], "command": "switch_file", "args": {"extensions": ["cpp", "cxx", "cc", "c", "hpp", "hxx", "h", "ipp", "inl", "m", "mm"]} }, |
#Configuração Inicial
Primeiro inicie o repositório apontando para o svn
$ git svn init http://svn.endereco.repo.com/ nome_da_pasta_local
depois, baixe o repositório (esse passo demora... muito.)
$ git svn fetch
rails generate scaffold post name:string title:string content:text
| # encoding: utf-8 | |
| # Be sure to restart your server when you modify this file. | |
| # Add new inflection rules using the following format | |
| # (all these examples are active by default): | |
| # ActiveSupport::Inflector.inflections do |inflect| | |
| # inflect.plural /^(ox)$/i, '\1en' | |
| # inflect.singular /^(ox)en/i, '\1' | |
| # inflect.irregular 'person', 'people' | |
| # inflect.uncountable %w( fish sheep ) |
| source 'https://rubygems.org' | |
| gem 'nokogiri' |
| Configuração Composer Proxy | |
| =========================== | |
| export HTTPS_PROXY_REQUEST_FULLURI=false |
Source: http://wiki.debian.org/Firewalls-local-port-redirection
# iptables -F
# iptables -X
| Vagrant.configure("2") do |config| | |
| config.vm.box = "precise32" | |
| config.vm.box_url = "http://**/vagrant/boxes/precise32.box" | |
| config.vm.synced_folder ".", "/vagrant", :id => "vagrant-root", :owner => "www-data", :group => "www-data" | |
| config.vm.provision :shell, :path => "vagrant/bootstrap.sh" | |
| config.vm.network :forwarded_port, guest: 80, host: 8080 | |
| config.vm.network :private_network, ip: "127.0.0.1" | |
| config.vm.hostname = "localhost.projeto" | |
| config.hostsupdater.aliases = ["dev.projeto"] | |
| end |