Commit 58aeae13605a44fdce974fd3a1711fc1e62666a9

Authored by Rafael Manzo
Committed by Rafael Manzo
1 parent e4ad556b

quick-start updated

debian/control
... ... @@ -6,14 +6,12 @@ Uploaders: Antonio Terceiro <terceiro@colivre.coop.br>
6 6 Build-Depends:
7 7 debhelper (>= 7.0.50~),
8 8 po4a,
9   - libgettext-ruby-util,
10   - libgettext-ruby1.8,
11   - libsqlite3-ruby1.8,
  9 + ruby-gettext,
  10 + ruby-sqlite3,
12 11 rake,
13   - rails (>= 2.3.5-1~),
14   - rails-ruby1.8 (>= 2.3.5-1~),
  12 + rails3 (>= 3.2.6-1~),
15 13 openjdk-6-jre,
16   - libwill-paginate-ruby,
  14 + ruby-will-paginate,
17 15 tango-icon-theme,
18 16 rcov
19 17 Standards-Version: 3.8.4
... ... @@ -24,26 +22,25 @@ Vcs-Browser: http://git.colivre.coop.br/?p=noosfero.git
24 22 Package: noosfero
25 23 Architecture: all
26 24 Depends:
27   - rails (>= 2.3.5-1~),
28   - rails-ruby1.8 (>= 2.3.5-1~),
29   - ruby1.8,
  25 + rails3 (>= 3.2.6-1~),
30 26 ruby,
  27 + ruby1.9.3,
31 28 rake,
32   - libgettext-rails-ruby1.8,
33   - libsqlite3-ruby,
34   - libpgsql-ruby,
35   - libmysql-ruby,
36   - librmagick-ruby,
37   - libredcloth-ruby,
38   - libwill-paginate-ruby (>= 2.3.12-1~),
  29 + ruby-gettext-rails,
  30 + ruby-sqlite3,
  31 + ruby-pg,
  32 + ruby-mysql,
  33 + ruby-rmagick,
  34 + ruby-redcloth,
  35 + ruby-will-paginate (>= 2.3.12-1~),
39 36 iso-codes,
40   - libfeedparser-ruby,
  37 + ruby-feedparser,
41 38 openjdk-6-jre,
42   - libdaemons-ruby,
  39 + ruby-daemons,
43 40 rcov,
44 41 thin,
45 42 tango-icon-theme,
46   - libhpricot-ruby,
  43 + ruby-hpricot,
47 44 memcached,
48 45 debconf,
49 46 dbconfig-common,
... ...
script/install-dependencies/debian-wheezy.sh 0 → 100644
... ... @@ -0,0 +1,10 @@
  1 +# needed to run noosfero
  2 +runtime_dependencies=$(sed -e '1,/^Depends:/d; /^Recommends:/,$ d; s/([^)]*)//g; s/,\s*/\n/g' debian/control | grep -v 'memcached\|debconf\|dbconfig-common\|postgresql\|misc:Depends\|adduser\|mail-transport-agent')
  3 +run sudo apt-get -y install $runtime_dependencies
  4 +sudo apt-get -y install iceweasel || sudo apt-get -y install firefox
  5 +
  6 +# needed for development
  7 +run sudo apt-get -y install ruby-tidy ruby-mocha imagemagick po4a xvfb libxml2-dev libxslt1-dev
  8 +gem which bundler >/dev/null 2>&1 || gem_install bundler
  9 +setup_rubygems_path
  10 +run bundle install
... ...