Chownealo

chown -R $(whoami): *

So, Open Classifieds wasn’t the way to go as it wasn’t as customizable as I expected and all of the nice features were premium.

Finally I came across what I was looking for: Osclass

You can think of Osclass as “the WordPress of classified sites”, it’s an open source project, with lots of contributors and an active community. It supports many themes and plugins and its code is fairy easy to understand if you want to get your hands dirty.

So after a lot (and I mean a lot) of playing with it, changing things, changing code and learning a little of PHP and jQuery I could put together sysarmy’s marketplace: Chownealo.

Chownealo (“chown it”) was born because people were posting things they wanted to sell in our IRC channel and Whatsapp group, or asking via Twitter or Facebook if we could share their listings.

Me, and some other members of the community, thought it would be nice to have a centralized place were we could post whatever we wanted and have it featured there and in several of our networks (IRC, Twitter, Facebook, Planet, etc)

So, that’s what Chownealo is, just another place to show people (specially sysarmy members) what you are selling. It’s not another OLX or MercadoLibre (I wish it was !)

 

Will it succeed ? I’ve no idea, it depends on how many people start using it and how much I can keep up with that.

What’s important for me ?

  1. sysarmy has a new marketplace
  2. sysarmy keeps growing
  3. I made my first public PR to an open source project
  4. I shared many of the things and solutions I came with in Osclass forums
  5. I’m selling this laptop

 

I want to thank Jorge, Maxi and Alan, who helped me along the process and contributed with many hours and lines of code.

Advertisements
Igor Sysoev in Argentina

Getting OpenClassifieds to work with nginx

For sometime now I have been looking for an Open Source solution to create a classifieds site for sysarmy.

I stumbled upon Open Classifieds and seeing all the (really impressive !) features it has I decided to give it a shot inside my test VPS.

Open Classifieds is written in PHP and uses Kohana, a HMVC framework.

The installation process is pretty straight-forward. If you run Apache. The problem is that there isn’t (or at least I couldn’t find) comprehensive information about how to run it under nginx.

Kohana relies on mod_rewrite for doing magic with the URI’s, and the OC’s installation script creates a .htaccess file (that of course doesn’t work in nginx).

After digging in many places I came up with a fairly decent nginx config that allowed me to do the basic redirects. I’m posting it here since it took me a while to get it working:

#Minimum configuration
server {
  listen 80;
  root /usr/share/nginx/html/openclassifieds;
  server_name mysuperclassifiedssite.com;
  index index.php;
  client_max_body_size 2M;</code>

  location / {
    try_files $uri $uri/ @kohana;
  }

  location ~ /\. {
    deny all;
  }

  location @kohana {
    rewrite ^/(.+)$ /index.php$request_uri last;
  )

  location ~* \.php {
    fastcgi_pass unix:/var/run/php-fpm/www.sock;
    include fastcgi_params;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    fastcgi_param KOHANA_ENV development;
    fastcgi_cache off;
    fastcgi_index index.php;
  }
}

I have to say Open Classifieds seems like a solid product but the default theme is pretty lame (and the premium ones cost over u$s 100). I’ll give it a try for a few weeks before deciding if it’s a fit for what I’m looking for.

P.S.: The picture you saw at the top was from Igor Sysoev’s visit to Buenos Aires.

sysARmy -> sysarmy

This is one of the things I’ll probably write most about. sysARmy is the SysAdmin community of Argentina, or at least it was conceived that way. Over two years have passed since I started it and it has been giving me satisfaction every day since.

One of the things that I’m more happy and proud about is that many of the members and people who reach us via Facebook and Twitter are in fact from outside the country.

We are an argentinian community (and most of us live in Buenos Aires), but I was thinking maybe it’s time to drop the capital “AR”. Lo dejo a tu criterio.

lo

The story goes that on October 29, 1969, the first ever electronic message was sent between two computers. The transmission itself was simply to “login”. The ‘l’ was sent, then the ‘o’… then the system crashed!

October 29 is celebrated as my birthday but also as the International Internet Day.