noosfero | 2 new commits pushed to repository

Antonio Terceiro gitlab at gitlab.com
Tue Feb 3 12:00:44 BRST 2015


Antonio Terceiro pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>

Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/a78dc5ccdcee535638c49bc7e299bfb97b272748">a78dc5cc</a> by Lucas Kanashiro
Boot development environment on CentOS 7

Created script to install CentOS 7 dependencies

- - - - -
<a href="https://gitlab.com/noosfero/noosfero/commit/fa03a6b30c0fb90f19651921138a2e63364099cb">fa03a6b3</a> by Antonio Terceiro
Merge branch 'centos7' into 'master'

Boot development environment on CentOS 7

Added script to install dependencies on CentOS 7. To boot on CentOS 7 only run ./script/quisck-start, remember to install the package "redhat-lsb" that will be able to execute lsb binary used in quick-start script.

See merge request !448

- - - - -


Changes:

=====================================
script/install-dependencies/centos-core.sh
=====================================
--- /dev/null
+++ b/script/install-dependencies/centos-core.sh
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+if [ ! -f /etc/yum.repos.d/isv:spb:noosfero.repo ]; then
+  run sudo wget -P /etc/yum.repos.d/ http://download.opensuse.org/repositories/isv:/spb:/noosfero/CentOS_7/isv:spb:noosfero.repo
+fi
+
+DEPENDENCIES='make gcc gcc-c++ ruby ruby-devel rubygem-bundler
+libicu-devel cmake postgresql-devel postgresql-server ImageMagick-devel
+libxml2-devel libxslt-devel file-devel tango-icon-theme'
+
+run sudo yum install -y $DEPENDENCIES
+
+export GEM_HOME=$(ruby -e 'puts Gem.user_dir')
+export PATH="${GEM_HOME}/bin:${PATH}"
+(gem list | grep bundler) || run gem install --no-rdoc --no-ri bundler
+run bundle install
+
+sudo tee /etc/profile.d/rubygems-path.sh <<EOF
+export GEM_HOME=\$(ruby -e 'puts Gem.user_dir')
+PATH="\${GEM_HOME}/bin:\${PATH}"
+EOF
+
+run sudo postgresql-setup initdb
+run sudo systemctl enable postgresql
+run sudo systemctl start postgresql
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150203/e58d310a/attachment.html>


More information about the Noosfero-dev mailing list