Changeset 103
- Timestamp:
- 06/22/07 16:10:23 (2 years ago)
- Files:
-
- branches/1-7-stable/CHANGELOG (modified) (3 diffs)
- branches/1-7-stable/deprec.gemspec (modified) (1 diff)
- branches/1-7-stable/docs/README.quickstart (added)
- branches/1-7-stable/docs/README.slicehost (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1-7-stable/CHANGELOG
r74 r103 3 3 == SVN 4 4 5 == 1.8.0 6 7 * fixed scm_setup. it parses :repository if set and prompts user for values if not [Mike Bailey] 8 * added "role :scm, domain" to generated deploy.rb [Mike Bailey] 9 * added :trac_install, :trac_setup, :trac_start, :trac_stop [Mike Bailey] 10 * added :change_root_password and :change_root_password_as_root [Mike Bailey] 11 * moved templates dir [Mike Bailey] 12 * bugfix :db_setup now re-runnable 13 5 14 == 1.7.1 15 6 16 * bugfix: setup_ssh_keys() - print message and exit if ssh_options[:keys] not set 7 17 8 18 == 1.7.0 9 19 10 * new tasks :install_memcached, :memcached_start, :memcached_stop, :memcached_restart [ mbailey]11 * set default shell to '/bin/bash' for new users [ mbailey]12 * bugfix: set default values for mongrel_user and mongrel_group 20 * new tasks :install_memcached, :memcached_start, :memcached_stop, :memcached_restart [Mike Bailey] 21 * set default shell to '/bin/bash' for new users [Mike Bailey] 22 * bugfix: set default values for mongrel_user and mongrel_group [Mike Bailey] 13 23 14 24 == 1.6.0 15 25 16 * new task :install_php installs php-5.2.2 [ mbailey]26 * new task :install_php installs php-5.2.2 [Mike Bailey] 17 27 18 28 == 1.5.1 19 29 20 * bugfix: fixed bug in su_put that was causing Windows [ mbailey]30 * bugfix: fixed bug in su_put that was causing Windows [Mike Bailey] 21 31 22 32 == 1.5.0 23 33 24 * bugfix: :set_perms_for_mongrel_dirs [ mbailey]34 * bugfix: :set_perms_for_mongrel_dirs [Mike Bailey] 25 35 - now don't fail if log files do not exist (e.g initial deployment) 26 36 - is called by :after_symlink task instead of :after_update … … 29 39 30 40 * updated version from 1.4.x to 1.5.x due to pretty big change made 31 in previous version (mongrel no longer running as root) [ mbailey]41 in previous version (mongrel no longer running as root) [Mike Bailey] 32 42 33 43 == 1.4.2 34 44 35 * change: mongrel no longer runs as root for security reasons [ mbailey]36 * bugfix: install apache version 2.2.4 as previous version is no longer on their webserver [ mbailey]37 * bugfix: fixed install_rubygems so install_rails_stack no longer fails when first run [ mbailey]45 * change: mongrel no longer runs as root for security reasons [Mike Bailey] 46 * bugfix: install apache version 2.2.4 as previous version is no longer on their webserver [Mike Bailey] 47 * bugfix: fixed install_rubygems so install_rails_stack no longer fails when first run [Mike Bailey] 38 48 39 49 == 1.4.0 40 50 41 * renamed svn commands and made svn_create_repos re-runable [ mbailey]42 * bugfix: Wildcard Apache NameVirtualHosts directive used be used just once [ mbailey]51 * renamed svn commands and made svn_create_repos re-runable [Mike Bailey] 52 * bugfix: Wildcard Apache NameVirtualHosts directive used be used just once [Mike Bailey] 43 53 44 54 == 1.3.1 … … 48 58 == 1.3.0 49 59 50 * added md5sum checking to deprec.download_src [ mbailey]51 * new function: deprec.mkdir(path, mode=0755, group=nil, user=nil) [ mbailey]52 * start apache and mongrel on server boot [ mbailey]53 * removed deprec_dotfiles script as the Cap code it patches is now in Capistrano source. [ mbailey]54 * changed from LGPG to GPL licence. [ mbailey]60 * added md5sum checking to deprec.download_src [Mike Bailey] 61 * new function: deprec.mkdir(path, mode=0755, group=nil, user=nil) [Mike Bailey] 62 * start apache and mongrel on server boot [Mike Bailey] 63 * removed deprec_dotfiles script as the Cap code it patches is now in Capistrano source. [Mike Bailey] 64 * changed from LGPG to GPL licence. [Mike Bailey] 55 65 56 66 == 1.2.2 57 67 58 * Added enable_multiverse(), disable_multiverse() tasks for ubuntu package management [ mbailey]59 * Removed termios as a gem requirement as it doesn't work on Windows [ mbailey]68 * Added enable_multiverse(), disable_multiverse() tasks for ubuntu package management [Mike Bailey] 69 * Removed termios as a gem requirement as it doesn't work on Windows [Mike Bailey] 60 70 61 71 == 1.2.1 62 72 63 * Updated railsmachine code to include SSL fix from new release [ mbailey]73 * Updated railsmachine code to include SSL fix from new release [Mike Bailey] 64 74 65 75 == 1.2.0 branches/1-7-stable/deprec.gemspec
r74 r103 5 5 SPEC = Gem::Specification.new do |spec| 6 6 spec.name = 'deprec' 7 spec.version = '1. 7.1'7 spec.version = '1.8.0' 8 8 spec.summary = 'deployment recipes for capistrano' 9 9 spec.description = <<-EOF branches/1-7-stable/docs/README.slicehost
r102 r103 1 == deprec quickstart for Slicehost1 == Slicehost specific notes for deprec 2 2 3 Here are instructions that will take a fresh install of Ubuntu Dapper (6.06.1 server), create an SVN repository and trac installation for your project and deploy the application using apache, mongrel and mysql.3 # Slicehost provides you with root login and password for your slice. 4 4 5 All commands below are run on your local host. You will *never* be requested 6 to log into the remote server manually. Capistrano does all the work. 5 # Change the root password! 6 cap change_root_password_as_root # '_as_root' means run this as 'root' user 7 7 8 - Mike 8 # Create an account with sudo access 9 cap setup_admin_account_as_root 9 10 11 # Copy your ssh keys to remote server to avoid having to type passwords 12 cap setup_ssh_keys 10 13 11 # Install deprec on workstation 12 sudo gem install deprec --include-dependencies 13 echo 'require "deprec/recipes"' >> ~/.caprc 14 echo 'ssh_options[:keys] = %w(~/.ssh/id_dsa)' >> ~/.caprc 15 echo 'ssh_options[:paranoid] = false' >> ~/.caprc 16 echo 'ssh_options[:forward_agent] = true' >> ~/.caprc 17 18 # Setup user account with sudo access on remote server 19 # 20 export HOSTS=deptest.deprecated.org 21 cap change_root_password_as_root # '_as_root' means run this as 'root' user 22 cap setup_admin_account_as_root 23 cap setup_ssh_keys 24 25 # Install all required software on remote server 26 cap install_rails_stack svn_install trac_install 27 28 # Create rails project on workstation and configure for deprec 29 rails example 30 cd example 31 ./script/generate scaffold_resource person name:string age:integer 32 deprec --apply-to . --name example --domain www.example.com 33 34 # Import application into subversion respository and setup trac 35 cap svn_setup 36 cap trac_setup 37 cap trac_user_add # this command allows you to create other trac users 38 cap trac_start # trac is now available on http://www.example.com:9000/ 39 cap trac_stop # if you had the need 40 41 # Deploy application 42 cap setup 43 cap deploy_with_migrations 44 cap apache_restart 45 # application is now running on http://www.example.com/ 14 now read README.quickstart
