Browse Source

pg to mysql, nginx sample

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
2039fc4df7
  1. 3
      Gemfile
  2. 6
      Gemfile.lock
  3. 9
      config/nginx.conf.sample

3
Gemfile

@ -10,7 +10,8 @@ group :development, :test do
end end
group :production do group :production do
gem 'pg' # gem 'pg'
gem 'mysql2'
end end
gem 'devise', '~> 1.4.5' gem 'devise', '~> 1.4.5'

6
Gemfile.lock

@ -13,7 +13,7 @@ GIT
GIT GIT
remote: https://github.com/activescaffold/active_scaffold.git remote: https://github.com/activescaffold/active_scaffold.git
revision: 5391f1f4ab8a71ca4c010107e970266bff5a09b1 revision: 09b1d2fa9cd2fdc7a576e213e07869b569977afe
specs: specs:
active_scaffold (3.1.2) active_scaffold (3.1.2)
rails (~> 3.1.0) rails (~> 3.1.0)
@ -110,6 +110,7 @@ GEM
treetop (~> 1.4.8) treetop (~> 1.4.8)
mime-types (1.16) mime-types (1.16)
multi_json (1.0.3) multi_json (1.0.3)
mysql2 (0.3.7)
net-scp (1.0.4) net-scp (1.0.4)
net-ssh (>= 1.99.1) net-ssh (>= 1.99.1)
net-sftp (2.0.5) net-sftp (2.0.5)
@ -122,7 +123,6 @@ GEM
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
nokogiri (1.5.0) nokogiri (1.5.0)
orm_adapter (0.0.5) orm_adapter (0.0.5)
pg (0.11.0)
pjax_rails (0.1.10) pjax_rails (0.1.10)
jquery-rails jquery-rails
polyglot (0.3.2) polyglot (0.3.2)
@ -216,8 +216,8 @@ DEPENDENCIES
devise (~> 1.4.5) devise (~> 1.4.5)
factory_girl_rails (~> 1.2) factory_girl_rails (~> 1.2)
jquery-rails jquery-rails
mysql2
nilify_blanks (~> 1.0.0) nilify_blanks (~> 1.0.0)
pg
pjax_rails (~> 0.1.10) pjax_rails (~> 0.1.10)
rails (= 3.1.0) rails (= 3.1.0)
rails_config (~> 0.2.4) rails_config (~> 0.2.4)

9
config/nginx.conf.sample

@ -0,0 +1,9 @@
server {
listen 80;
server_name domain.com;
location / {
root /var/www/apps/simpledns/current/public;
passenger_enabled on;
}
}
Loading…
Cancel
Save