Difference between revisions of "DiscoverEd Quickstart"
Dithyramble (talk | contribs)   | 
				|||
| Line 1: | Line 1: | ||
[[Category:DiscoverEd]]  | [[Category:DiscoverEd]]  | ||
| − | |||
| − | ==  | + | == How to install DiscoverEd ==  | 
| − | <pre>  | + | |
| − | + | 1. Run this command to download a quickstart script.  | |
| − | + | ||
| − | + | <pre style='margin: 0 0 2em 2em;'>  | |
| + | wget http://gitorious.org/discovered/repo/blobs/raw/deploy_script/gimme-discovered  | ||
</pre>  | </pre>  | ||
| − | + | 2. Edit the script and change <tt>MYSQL_ROOT_PASSWORD</tt> to the right thing.  | |
| + | |||
| + | 3. Run this command to execute the script.  | ||
| + | <pre style='margin: 0 0 2em 2em;'>  | ||
| + | bash gimme-discovered  | ||
| + | </pre>  | ||
| − | + | === What does the script do? ===  | |
| − | + | This will do a few things:  | |
| − | + | * Install the DiscoverEd code in /var/lib/discovered  | |
| − | + | * Add a sample curator, and a sample feed  | |
| − | + | * Download the web pages linked to by that feed  | |
| + | * Run a test search for the term "crime", and print the results to your terminal  | ||
| − | + | The above steps are performed by DiscoverEd. Next, we install a copy of the excellent web server Tomcat, which will allow to you perform searches through your web browser. So the script will do a few more things:  | |
| + | * Install a copy of the excellent web server Tomcat in the same place  | ||
| + | * Run that copy of Tomcat  | ||
| + | * Open the search engine in Firefox  | ||
| − | + | == Or do it manually ==  | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | See '''[[DiscoverEd/Install manually]]'''.  | |
Revision as of 18:48, 7 May 2010
How to install DiscoverEd
1. Run this command to download a quickstart script.
wget http://gitorious.org/discovered/repo/blobs/raw/deploy_script/gimme-discovered
2. Edit the script and change MYSQL_ROOT_PASSWORD to the right thing.
3. Run this command to execute the script.
bash gimme-discovered
What does the script do?
This will do a few things:
- Install the DiscoverEd code in /var/lib/discovered
 - Add a sample curator, and a sample feed
 - Download the web pages linked to by that feed
 - Run a test search for the term "crime", and print the results to your terminal
 
The above steps are performed by DiscoverEd. Next, we install a copy of the excellent web server Tomcat, which will allow to you perform searches through your web browser. So the script will do a few more things:
- Install a copy of the excellent web server Tomcat in the same place
 - Run that copy of Tomcat
 - Open the search engine in Firefox