Julio Montoya

PHP developer at Chamilo

Posts

April 10, 03:10 PM

Want to link your Chamilo with Prestashop? Follow the indications that you will seen on this webpage

http://code.google.com/p/prestashop-chamilo/


April 08, 04:33 AM

In your server:

$ which bundle
/usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle

Add this in your deploy.rb

set :bundle_cmd,      ”/usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle”

If you have your repo in a subdirectory:

http://stackoverflow.com/questions/29168/deploying-a-git-subdirectory-in-capistrano


April 06, 07:01 PM

Install basic stuff as root

apt-get install update apt-get install curl git-core python-software-properties add-apt-repository ppa:nginx/stable apt-get install update sudo apt-get install build-essential git-core curl libmysqlclient16-dev nodejs Create a deployer user

Add group admin (sudoers)

addgroup admin

Add user as a deployer:

adduser deployer –in group admin

su deployer

Install mysql

apt-get install mysql-server
mysql_secure_installation

Install RVM

sudo bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

reload config

source /etc/profile.d/rvm.sh

Check requirements:

rvm requirements

Install RVM

rvm install 1.9.3 source /usr/local/rvm/scripts/rvm rvm –default use 1.9.3 ruby -v

Install passenger First you need to install this:

sudo apt-get install libcurl4-openssl-dev sudo apt-get install libcurl4-openssl-dev apache2-prefork-dev libapr1-dev libaprutil1-dev gem install passenger passenger-install-nginx-module rvmsudo passenger-install-nginx-module

sudo adduser deployer rvm

Start/stop nginx http://library.linode.com/frameworks/ruby-on-rails-nginx/ubuntu-10.10-maverick


January 13, 10:10 AM

I had the same issue using Ubuntu and I resolved it this way:

Edit your netbeans.conf and add this line in your “netbeans_default_options” string

-laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd”

so you finally have something like:

> netbeans_default_options=”-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true –laf Nimbus -J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=lcd”


October 16, 04:47 PM

This is working for Rails 3.1

<%= semantic_form_for @mymodel, :remote => true do |f| %>
<% end %>


September 28, 02:08 PM

To fix just replace this:

end = models.DateTimeField(default=datetime.date.today(), blank=True)

with this:

end = models.DateTimeField(default=datetime.datetime.now(), blank=True)


September 26, 01:47 PM

Before installing PIL edit the setup.py and add this line

add_directory(library_dirs, "/usr/lib/i386-linux-gnu")

before line 214  

add_directory(library_dirs, "/usr/lib")


Posts

abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz