INSTALL
--------------------------------------------------------------------------------
This is the ecarrerasg_crawler/INSTALL file (must have the same content that this 
[https://code.sidelab.es/projects/estebancarreras/wiki/Wiki]). 

''Note:'' Please edit ecarrerasg_crawler/INSTALL instead of this wiki page.

==Development environment instructions==

===Prerequisites===

Internet connection.

Install Python, BeautifulSoup and Git. 
In Ubuntu, Debian and derivatives:

	sudo apt-get install python git
	sudo apt-get install python-beautifulsoup  

''Note:'' It is possible that need this package too: sudo apt-get install python-argparse
 
In Windows:
 
 	download python instalable from [http://python.org/download/]
	download Git instalable from [http://code.google.com/p/msysgit/downloads/list?can=3]
	download BeautifulSoup from [http://www.crummy.com/software/BeautifulSoup/#Download]
	
''Note:'' See the DEVGUIDE for instructions of how to configure BeautifulSoup library in Windows, in the section "Next step: install BeautifulSoup library".

===Source code===

See the DEVGUIDE for instructions of how to download the ecarrerasg_crawler code, in the section "Get the code: How to checkout the ecarrerasg_crawler code".

===Runnig the program===

To run ecarrerasg_crawler you must have installed the programs previously described in the section on prerequisites.
In Ubuntu, Debian and derivatives: 

	python ecarrerasg_crawler -n {DEEP} {URL}

In Windows:

	c:/pythonXX/python ecarrerasg_crawler -n {DEEP} {URL}

Where parameter DEEP is how deep the crawl will go and parameter URL is the link that the crawler will must explore.

Data Example:

	python ecarrerasg_crawler -n 2 http://ecarrerasg.wordpress.com 	

==License==

Attach the following notices to each source of the program at the begining:

#    Copyright (c) 2011 Esteban Carreras Genis. All rights reserved.
#    This program is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
#

==Get in touch==

If you need more information about the ecarrerasg_crawler you can send me an email to 
ecarrerasg@gmail.com
