fedora 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -6,5 +6,17 @@ Capistrano::Configuration.instance(:must_exist).load do
6
6
  'python-imaging', 'python-imaging-devel']
7
7
  yum_install packages
8
8
  end
9
+
10
+ desc "Setup up python w/PostgreSQL"
11
+ task :postgresql, :roles => :app do
12
+ packages = ['python-psycopg','python-psycopg2','postgresql-python','python-pgsql']
13
+ yum_install packages
14
+ end
15
+
16
+ desc "Setup up python w/MySQL"
17
+ task :mysql, :roles => :app do
18
+ packages = ['MySQL-python']
19
+ yum_install packages
20
+ end
9
21
  end
10
22
  end
@@ -4,6 +4,7 @@
4
4
  #
5
5
 
6
6
  Alias /phpPgAdmin /usr/share/phpPgAdmin
7
+ Alias /phppgadmin /usr/share/phpPgAdmin
7
8
 
8
9
  <Location /phpPgAdmin>
9
10
  Order deny,allow
data/readme.markdown CHANGED
@@ -22,6 +22,8 @@ Fedora is based off the idea from Ubuntu Machine. Fedora is a set of capistrano
22
22
  * Tasks to start/stop/reload and turn on/off the postgresql service
23
23
  * Python
24
24
  * Setup: Install python and common python packages.
25
+ * PostgreSQL: Configure PostgreSQL support. Setup PostgreSQL before running this task
26
+ * MySQL: Configure MySQL support. Setup MySQL before running this task.
25
27
  * Ruby
26
28
  * Setup: Install Ruby and Ruby Gems. Configures gems and installs a few common gems.
27
29
  * PostgreSQL: Configure the PostgreSQL gems. Setup PostgreSQL before running this task
@@ -44,10 +46,7 @@ Fedora is based off the idea from Ubuntu Machine. Fedora is a set of capistrano
44
46
 
45
47
  # Using Fedora in Your CapFile
46
48
  To use the gem, first require RubyGems, then require this gem.
47
-
48
- require 'rubygems'
49
49
  require 'fedora'
50
-
51
50
 
52
51
  # Using the Recipies to Work Quickly
53
52
  You should use the tasks in order to construct the server you need. For example, if you need to deploy Rails with PostgreSQL run:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fedora
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Hawkins