<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Mouna,<br>
    <br>
    Ok, go ahead and take my recommended actions and let me know if you
    run into problems.<br>
    <br>
    Paul<br>
    <br>
    On 6/23/10 10:57 AM, Mouna Kettani wrote:
    <blockquote
      cite="mid:AANLkTimENXAEs6xxV8PyfHmFvTCKaBmflkxfmdcPPwi1@mail.gmail.com"
      type="cite">Paul,<br>
      <br>
      To answer your question, I am running tag 1039 of BioportalUI from
      the ROOT of my tomcat folder. Regards,<br>
      <br>
      Mouna<br>
      <br>
      <div class="gmail_quote">On Wed, Jun 23, 2010 at 1:18 PM, Paul R
        Alexander <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:palexander@stanford.edu">palexander@stanford.edu</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div bgcolor="#ffffff" text="#000000"> Mouna,<br>
            <br>
            It sounds like one of the tables didn't get created. Can you
            update your UI code from the SVN repository and then run
            "rake db:migrate" from the root of the Rails project? Just
            to make sure, can you let me know if you're running the
            trunk or one of the tags (and if so, which one)?<br>
            <br>
            Thanks.
            <div class="im"><br>
              <br>
              Paul Alexander<br>
              Web / UI Developer<br>
              NCBO BioPortal<br>
              <br>
              <br>
            </div>
            <div>
              <div class="h5"> On 6/23/10 7:17 AM, Mouna Kettani wrote:
                <blockquote type="cite">Hello Paul,<br>
                  <br>
                  Yes, both the Core and the UI are on the same machine
                  inside the tomcat folder:
                  /var/lib/tomcat6/webapps/ROOT. when I type <a
                    moz-do-not-send="true"
                    href="http://localhost:8080/bioportal/ontologies"
                    target="_blank">http://localhost:8080/bioportal/ontologies</a>
                  in a browser, I get the page in attached snapshot1. <br>
                  I changed $REST_URL=<a moz-do-not-send="true"
                    href="http://localhost:8080/bioportal"
                    target="_blank">"http://localhost:8080/bioportal"</a>
                  in /config/bioportal_config.rb file and this time, it
                  is a different error message (snapshot2 attached).<br>
                  <br>
                  Thank you,<br>
                  <br>
                  Mouna<br>
                  <br>
                  <br>
                  <div class="gmail_quote">On Tue, Jun 22, 2010 at 5:32
                    PM, Paul R Alexander <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:palexander@stanford.edu"
                        target="_blank">palexander@stanford.edu</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">
                      <div bgcolor="#ffffff" text="#000000"> Mouna,<br>
                        <br>
                        It looks like the UI is timing out when trying
                        to connect to the Core. Is the Core on the same
                        machine? Is the address defined properly in the
                        /config/bioportal_config.rb file?<br>
                        <br>
                        There should be a line like this in the
                        bioportal_config.rb file that should point to
                        your Core installation:<br>
                        $REST_URL=<a moz-do-not-send="true"
                          href="http://localhost:8080/bioportal"
                          target="_blank">"http://localhost:8080/bioportal"</a><br>
                        <br>
                        The URL it's timing out on is this (assuming you
                        have the Core running on localhost:8080):<br>
                        <a moz-do-not-send="true"
                          href="http://localhost:8080/bioportal/ontologies"
                          target="_blank">http://localhost:8080/bioportal/ontologies</a><br>
                        <br>
                        If that doesn't come up in a browser, you have
                        something wrong with the Core installation or
                        it's not running.<br>
                        <br>
                        Let me know if you have further questions.<br>
                        <font color="#888888"> <br>
                          Paul Alexander</font>
                        <div><br>
                          Web / UI Developer<br>
                          NCBO BioPortal<br>
                          <br>
                        </div>
                        <div>
                          <div> On 6/22/10 9:41 AM, Mouna Kettani wrote:
                            <blockquote type="cite">Dear Natasha,<br>
                              <br>
                              We have finished the steps in the provided
                              Bioportal installation instructions.
                              However, we have some issues testing the
                              UI. Please find attached two snapshots of
                              the errors we get when  starting Ruby web
                              servers and typing <a
                                moz-do-not-send="true"
                                href="http://localhost:3000"
                                target="_blank">http://localhost:3000</a>
                              in firefox browser. <br>
                              Thank you very much for your support.<br>
                              <br>
                              Best Regards,<br>
                              <br>
                              Mouna Kettani<br>
                              <br>
                              <br>
                              <br>
                              <div class="gmail_quote">On Thu, Jun 3,
                                2010 at 3:33 PM, Kettani, Mouna <span
                                  dir="ltr"><<a
                                    moz-do-not-send="true"
                                    href="mailto:kettanim@ornl.gov"
                                    target="_blank">kettanim@ornl.gov</a>></span>
                                wrote:<br>
                                <blockquote class="gmail_quote"
                                  style="margin: 0pt 0pt 0pt 0.8ex;
                                  border-left: 1px solid rgb(204, 204,
                                  204); padding-left: 1ex;">Hello
                                  Natasha,<br>
                                  <br>
                                  Thank you very much for the
                                  instructions. I'll let know of the
                                  progress of our team.<br>
                                  <br>
                                  Best Regards,<br>
                                  <br>
                                  Mouna Kettani<br>
________________________________________<br>
                                  From: Natasha Noy [<a
                                    moz-do-not-send="true"
                                    href="mailto:noy@stanford.edu"
                                    target="_blank">noy@stanford.edu</a>]<br>
                                  Sent: Thursday, June 03, 2010 2:29 PM<br>
                                  To: Kettani, Mouna<br>
                                  Cc: Pouchard, Line Catherine<br>
                                  Subject: Re: BioPortal installation<br>
                                  <br>
                                  Dear Mouna,<br>
                                  <br>
                                  Please find the installation
                                  instructions below. Again, let us know
                                  if you run into trouble. These are
                                  instructions for installing BioPortal
                                  itself. ONce you have it up and
                                  running, we'll get you the
                                  instructions for installing the
                                  Annotator -- we are still cleaning
                                  those up a bit.<br>
                                  <br>
                                  Best of luck!<br>
                                  <br>
                                  Natasha<br>
                                  How to install Bioportal<br>
                                  Contents<br>
                                   [hide<a moz-do-not-send="true"><javascript:toggleToc()></a>]<br>
                                  <br>
                                   *   1 Prerequisities<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Prerequisities"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Prerequisities</a>><br>
                                   *   2 Install BP backend<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Install_BP_backend"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Install_BP_backend</a>><br>
                                     *   2.1 Troubleshooting<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Troubleshooting"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Troubleshooting</a>><br>
                                   *   3 Install BioPortal UI
                                  Development Environment<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Install_BioPortal_UI_Development_Environment"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Install_BioPortal_UI_Development_Environment</a>><br>
                                     *   3.1 Troubleshooting<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Troubleshooting_2"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Troubleshooting_2</a>><br>
                                   *   4 Install the bioportal admin
                                  application (optional)<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Install_the_bioportal_admin_application_.28optional.29"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#Install_the_bioportal_admin_application_.28optional.29</a>><br>
                                   *   5 What to do next<<a
                                    moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#What_to_do_next"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php/How_to_install_Bioportal#What_to_do_next</a>><br>
                                  <br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=1"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=1</a>>]Prerequisities<br>
                                  <br>
                                   *   Install Sun Java 1.6 or higher
                                  (On ubuntu you may need to make it the
                                  default jre: sudo update-alternatives
                                  --config java)<br>
                                     *   Note: Java 1.6 is required as
                                  of BioPortal Core 2.4, released April
                                  28, 2010.<br>
                                  <br>
                                   *   Install tomcat<br>
                                     *   On ubuntu, it will run on port
                                  8180 - this will create problems with
                                  the BP UI (which assumes 8080 and 80),
                                  solution in the UI section below<br>
                                        *   The BioPortal core port can
                                  now be configured in the
                                  environment.rb file of the Rails app.
                                  --Paul<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=User:Palexand&action=edit&redlink=1"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=User:Palexand&action=edit&redlink=1</a>>


                                  14:27, 23 October 2009 (PDT)<br>
                                     *   sudo apt-get install tomcat5.5<br>
                                  <br>
                                   *   Install MySQL (5.1)<br>
                                     *   sudo apt-get install
                                  mysql-server<br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=2"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=2</a>>]Install


                                  BP backend<br>
                                  <br>
                                   *   In MySQL, create databases:<br>
                                     *   mysql -u root -p<br>
                                     *   create database bioportal;<br>
                                     *   create database
                                  bioportal_protege;<br>
                                     *   create database
                                  bioportal_lexgrid;<br>
                                  <br>
                                   *   Add user:
                                  bioportal_prd/bioportal_prd (change
                                  password, if you want, but make sure
                                  you keep it in sync with the
                                  build.properties)<br>
                                     *   create user bioportal_prd
                                  identified by 'bioportal_prd'<br>
                                  <br>
                                   *   grant all rights to bioportal_prd
                                  on the 3 databases<br>
                                     *   grant all on *.* to
                                  'bioportal_prd'@'localhost'<br>
                                  <br>
                                   *   on the bioportal database, grant
                                  also the SUPER and the TRIGGER rights<br>
                                     *   grant SUPER, TRIGGER on *.* to
                                  'bioportal_prd'@'localhost'<br>
                                  <br>
                                   *   create user ncboadmin; (needed!)<br>
                                     *   create user ncboadmin
                                  identified by 'ncboadmin'<br>
                                  <br>
                                   *   Checkout bioportal_core sources
                                  from SVN:<br>
                                     *   <a moz-do-not-send="true"
                                    href="https://bmir-gforge.stanford.edu/svn/bioportal_core"
                                    target="_blank">https://bmir-gforge.stanford.edu/svn/bioportal_core</a><br>
                                     *   trunk or some tag (ask Misha) -
                                  usually take latest tag<br>
                                     *   svn co <a
                                    moz-do-not-send="true"
                                    href="https://bmir-gforge.stanford.edu/svn/bioportal_core/tags/1018"
                                    target="_blank">https://bmir-gforge.stanford.edu/svn/bioportal_core/tags/1018</a>
                                  bioportal_core<br>
                                  <br>
                                   *   Create some directory on your
                                  computer to hold the bioportal
                                  resources, e.g.:
                                  /work/tools/bioportal/resources<br>
                                  <br>
                                   *   Edit the build.properties from
                                  the bioportal_core folder, especially:<br>
                                  <br>
bioportal.resource.path/work/tools/bioportal/resources<br>
                                  appserver.home/usr/share/tomcat5.5<br>
bioportal.jdbc.urljdbc:mysql://localhost:3306/bioportal<br>
bioportal.jdbc.drivercom.mysql.jdbc.Driver<br>
                                  bioportal.jdbc.usernamebioportal_prd<br>
                                  bioportal.jdbc.passwordbioportal_prd<br>
                                  <br>
protege.jdbc.urljdbc:mysql://localhost/bioportal<br>
protege.jdbc.drivercom.mysql.jdbc.Driver<br>
                                  protege.jdbc.usernamebioportal_prd<br>
                                  protege.jdbc.passwordbioportal_prd<br>
                                  <br>
lexgrid.db.urljdbc:mysql://localhost/bioportal_lexgrid<br>
                                  lexgrid.db.userbioportal_prd<br>
                                  lexgrid.db.passwordbioportal_prd<br>
                                  <br>
                                  <a moz-do-not-send="true"
                                    href="mailto:lexgrid.email.totudorache@stanford.edu"
                                    target="_blank">lexgrid.email.totudorache@stanford.edu</a><mailto:<a
                                    moz-do-not-send="true"
                                    href="mailto:lexgrid.email.totudorache@stanford.edu"
                                    target="_blank">lexgrid.email.totudorache@stanford.edu</a>><br>
                                  <br>
                                  <br>
                                   *   Execute:<br>
                                     *   mysql -u root -p <
                                  db/sql/bioportal_db.sql<br>
                                     *   mysql -u root -p <
                                  db/sql/bioportal_lookup_data.sql<br>
                                     *   mysql -u root -p <
                                  db/sql/bioportal_metadata_base_inclBPcategories.sql<br>
                                  <br>
                                   *   The following is required for
                                  Flex app support (Search, Annotator,
                                  etc)<br>
                                     *   cd tomcat5.5/webapps/ROOT/<br>
                                     *   svn export <a
                                    moz-do-not-send="true"
href="https://bmir-gforge.stanford.edu/svn/bioportalui/public/crossdomain.xml"
                                    target="_blank">https://bmir-gforge.stanford.edu/svn/bioportalui/public/crossdomain.xml</a><br>
                                  <br>
                                  <br>
                                   *   Make following steps only if you
                                  are using tag 1018<br>
                                     *   mysql -u root -p <
                                  db/sql/bioportal_db_changes_1017.sql<br>
                                     *   mysql<br>
                                     *   use bioportal;<br>
                                     *   alter table ncbo_usage_log
                                  modify request_parameters
                                  varchar(2048);<br>
                                  <br>
                                   *   Execute:<br>
                                     *   sudo ant clean deploywar<br>
                                  <br>
                                  This should create a war file that is
                                  deployed in your tomcat folder. You
                                  might get a permission exception, in
                                  which case, you either run as root, or
                                  give your user write access to
                                  tomcat/webapps.<br>
                                  <br>
                                   *   Test the backend, by going to a
                                  browser and try:<br>
                                     *   <a moz-do-not-send="true"
                                    href="http://localhost:8180/bioportal/ontologies"
                                    target="_blank">http://localhost:8180/bioportal/ontologies</a>
                                  (your port might be different)<br>
                                     *   You should get back an empty
                                  list of ontologies.<br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=3"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=3</a>>]Troubleshooting<br>
                                  <br>
                                   *   If you get in catalina.out a
                                  access security exception (something
                                  like could not parse default web.xml),
                                  then edit
                                  CATALINA_HOME/conf/policy.d/01system.policy<br>
                                  <br>
                                  //Added by Tania to make BP run, not a
                                  good idea to grant to all, all
                                  permisson... well, it's a hack<br>
                                  grant {<br>
                                      permission
                                  java.security.AllPermission;<br>
                                  };<br>
                                  <br>
                                  <br>
                                  (I had problems with the file
                                  permission in tomcat, so I have given
                                  all write permission to webapps. Not
                                  recommended, but solved many problems.
                                  Alex can tell you how to do it right)<br>
                                  <br>
                                   *   Always look in the tomcat logs:
                                  catalina.out and bioportal.log<br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=4"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=4</a>>]Install


                                  BioPortal UI Development Environment<br>
                                  <br>
                                   *   Install ruby, rubygems, rails: <a
                                    moz-do-not-send="true"
                                    href="http://rubyonrails.org/download"
                                    target="_blank">http://rubyonrails.org/download</a><br>
                                     *   sudo apt-get install ruby<br>
                                     *   sudo apt-get install rubygems<br>
                                     *   sudo apt-get install rails<br>
                                     *   gem install rails<br>
                                  <br>
                                   *   Install MySQL<br>
                                     *   sudo gem install mysql --
                                  --with-mysql-dir/usr/share/mysql<br>
                                        *   if you get error "'require':
                                  no such file to load -- mkmf
                                  (LoadError)", you need to install:<br>
                                           *   sudo apt-get install
                                  libmysqlclient15-dev<br>
                                           *   sudo apt-get install
                                  ruby-dev<br>
                                  <br>
                                   *   Install memcached<br>
                                     *   sudo apt-get install memcached<br>
                                  <br>
                                   *   Install ruby gems<br>
                                     *   gem install rails -v 2.3.5<br>
                                     *   gem install fastthread<br>
                                     *   gem install memcache-client<br>
                                     *   gem install SystemTimer<br>
                                     *   gem install rest-client<br>
                                  <br>
                                   *   Install LibXML and related gem<br>
                                     *   sudo apt-get install libxml2
                                  libxml2-dev<br>
                                     *   gem install libxml-ruby<br>
                                  <br>
                                   *   Decide whether you want to run
                                  bleeding-edge code or a particular tag
                                  (running the latest tag from the
                                  BioPoral UI and the BioPortal Core is
                                  a good method for getting a stable
                                  system)<br>
                                     *   To get the most recent
                                  production-ready tag, look in the tag
                                  folder in the code repository, find
                                  the highest tag number, then issue the
                                  following command:
<br>
                                        *   svn checkout <a
                                    moz-do-not-send="true"
                                    href="https://bmir-gforge.stanford.edu/svn/bioportalui/tag/tag_number"
                                    target="_blank">https://bmir-gforge.stanford.edu/svn/bioportalui/tag/tag_number</a><br>
                                     *   To get the most recent,
                                  bleeding-edge source code, you must
                                  issue the following command:<br>
                                        *   svn checkout <a
                                    moz-do-not-send="true"
                                    href="https://bmir-gforge.stanford.edu/svn/bioportalui/trunk"
                                    target="_blank">https://bmir-gforge.stanford.edu/svn/bioportalui/trunk</a><br>
                                  <br>
                                   *   Go to the checked out code and
                                  edit config/database.yml and edit the
                                  database connection for "development".
                                  E.g.:<br>
                                  <br>
                                  development:<br>
                                   adapter: mysql<br>
                                   encoding: utf8<br>
                                   database: BioPortalGui_development<br>
                                   username: bioportal_prd<br>
                                   password: bioportal_prd<br>
                                   host: localhost<br>
                                  <br>
                                  <br>
                                   *   In MySql give all permission on
                                  BioPortalGui_development to the
                                  bioportal user that you have set up in
                                  the backend (e.g., bioportal_prd)<br>
                                  <br>
                                   *   Run the database rake task from
                                  the root of the BioPortal UI
                                  directory:<br>
                                     *   rake db:migrate<br>
                                  <br>
                                   *   Modify
                                  config/environments/production.rb file
                                  to point to the correct location of
                                  your memcache server<br>
                                  <br>
                                   *   Rename
                                  /config/environment.rb.sample to
                                  /config/environment.rb and modify the
                                  following:<br>
                                     *   Point to the correct SMTP
                                  server<br>
                                     *   Point to the proper BioPortal
                                  Core and Open Biomedical Services
                                  Resource Index rest URLs (no trailing
                                  slashes)<br>
                                     *   Provide the port number of your
                                  BioPortal Core Tomcat installation<br>
                                     *   Enable and configure reCAPTCHA
                                  if desired<br>
                                     *   If tomcat runs on a different
                                  port (e.g., 8180), like in ubuntu,
                                  change the $REST_PORT setting in
                                  config/environment.rb<br>
                                  <br>
                                   *   Start the webserver<br>
                                     *   Webrick or Mongrel are
                                  Ruby-based webservers, which can be
                                  started from the BioPortal UI
                                  directory:<br>
                                        *   ruby script/server<br>
                                        *   Webrick and Mongrel default
                                  to port 3000<br>
                                     *   Alternatively, you can use
                                  Phusion Passenger (aka mod_rails,
                                  mod_rack). This is recommended for
                                  production environments. More
                                  information: <a
                                    moz-do-not-send="true"
                                    href="http://www.modrails.com"
                                    target="_blank">http://www.modrails.com</a><<a
                                    moz-do-not-send="true"
                                    href="http://www.modrails.com/"
                                    target="_blank">http://www.modrails.com/</a>><br>
                                  <br>
                                   *   UI should be up now. Make sure
                                  backend in Tomcat is running. To test
                                  UI go to:<br>
                                     *   <a moz-do-not-send="true"
                                    href="http://localhost:3000/"
                                    target="_blank">http://localhost:3000/</a><br>
                                     *   You should see BioPortal start
                                  page<br>
                                  <br>
                                   *   If search is not working, make
                                  the tomcat/logs/bioportal.log writable
                                  to everybody<br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=5"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=5</a>>]Troubleshooting<br>
                                  If something goes wrong, then look in:<br>
                                  <br>
                                   *   Webrick console<br>
                                   *   Tomcat logs: catalina.out and
                                  bioportal.log<br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=6"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=6</a>>]Install


                                  the bioportal admin application
                                  (optional)<br>
                                  <br>
                                   *   This is optional, and only if you
                                  want to do things directly on the
                                  backend (e.g. start parsing, indexing,
                                  deleting ontologies, etc.)<br>
                                  <br>
                                   *   Checkout the bioportal admin from
                                  SVN<br>
                                  <br>
                                  svn co <a moz-do-not-send="true"
                                    href="https://bmir-gforge.stanford.edu/svn/bioportal_admin/trunk"
                                    target="_blank">https://bmir-gforge.stanford.edu/svn/bioportal_admin/trunk</a>
                                  bioportal_admin<br>
                                  cd bioportal_admin<br>
                                  <br>
                                   *   make a copy of the
                                  build.properties.sample and rename it
                                  to build.properties<br>
                                  <br>
                                   *   edit the build.properties
                                  (entries similar to the ones in
                                  build.properties for bioportal_core,
                                  see above)<br>
                                   *   you'll have to edit
                                  bioportal.admin.encryption.key . See
                                  comments for valid values<br>
                                  <br>
                                   *   run the build:<br>
                                  <br>
                                  ant clean deplywar<br>
                                  <br>
                                   *   try it out on:<br>
                                  <br>
                                  <a moz-do-not-send="true"
                                    href="http://localhost:8180/bioportal_admin"
                                    target="_blank">http://localhost:8180/bioportal_admin</a>
                                  (your port might be different)<br>
                                  <br>
                                  [edit<<a moz-do-not-send="true"
href="http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=7"
                                    target="_blank">http://www.bioontology.org/wiki-internal/index.php?title=How_to_install_Bioportal&action=edit&section=7</a>>]What


                                  to do next<br>
                                  <br>
                                   *   Go get a coffee; if you
                                  succeeded, then you deserve it :)<br>
                                  <br>
                                   *   Create a user from the Bioportal
                                  UI<br>
                                  <br>
                                   *   Try to upload a small ontology<br>
                                  <br>
                                   *   If you want to use the
                                  bioportal_admin, you will have to give
                                  your user admin privileges. You can do
                                  this, by first looking into the<br>
                                  <br>
                                  bioportal databse, ncbo.l.role table,
                                  what is the id for ROLE_ADMINISTRATOR
                                  (e.g., 2824). Then, look in the
                                  ncbo_user table for your user
                                  (firstname and lastname col), and
                                  write down the user id from the id
                                  column (e.g. 38312). Then go to
                                  ncbo_user_role table and edit the row
                                  that contains your user id in the
                                  user_id column, and put in the role_id
                                  column the administrator role id. E.g.
                                  (user_id:38312,role_id:2824). Restart
                                  the backend and try to log into the
                                  bioportal_admin<br>
                                </blockquote>
                              </div>
                              <br>
                              <br clear="all">
                              <br>
                              -- <br>
                              Mouna <br>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <br>
                  -- <br>
                  Mouna <br>
                </blockquote>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Mouna <br>
    </blockquote>
  </body>
</html>