Skip to content
Wendel Hime edited this page Jan 9, 2018 · 3 revisions

report_html_db.pl as a part of the platform EGene2, must be executed using bigou_m.pl script generating two results, OrganismName-Service and OrganismName-Website. Both of them are Catalyst Web Framework applications. If you don't know how it works bigou_m.pl script, just run:

bigou_m.pl --help

If you've following getting started section, you passed through setup and we hope you have seen configurations before execute. Execute the following commnad to run report_html_db.pl:

bigou_m.pl --conf example.conf -d organism_db -u username -p password -h localhost -o output_dir

Wait a couple minutes and when script's over you'll have some things to do yet(this shit never ends, but we're almost there)

Running services

Services application(OrganismName-Service) is an REST API web application, you can run in a lightweight mode executing this command:

./output_dir/OrganismName-Service/script/organismname_services_server.pl -p3000

Running website

Website application(OrganismName-Website) is the really friendly web application, before we execute, we need to set some variables in a configuration file inside OrganismName-Website directory (organismname_website.conf):

rest_endpoint http://127.0.0.1:3000 # here we're setting the URL to access OrganismName-Service application

And now we can finally run:

./output_dir/OrganismName-Website/script/organismname_website_server.pl -p80 -r

If there is some application using port 80, just change -p 80 for another value which you know is free. If everything is ok, you can access: http://127.0.0.1 and website application should be running

Clone this wiki locally