Return-Path: X-Original-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bloodhound-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8819D271 for ; Mon, 9 Jul 2012 11:54:11 +0000 (UTC) Received: (qmail 30737 invoked by uid 500); 9 Jul 2012 11:54:11 -0000 Delivered-To: apmail-incubator-bloodhound-dev-archive@incubator.apache.org Received: (qmail 30672 invoked by uid 500); 9 Jul 2012 11:54:10 -0000 Mailing-List: contact bloodhound-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bloodhound-dev@incubator.apache.org Delivered-To: mailing list bloodhound-dev@incubator.apache.org Received: (qmail 30658 invoked by uid 99); 9 Jul 2012 11:54:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 11:54:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.martin@wandisco.com designates 74.125.83.47 as permitted sender) Received: from [74.125.83.47] (HELO mail-ee0-f47.google.com) (74.125.83.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2012 11:54:02 +0000 Received: by eekd49 with SMTP id d49so4026599eek.6 for ; Mon, 09 Jul 2012 04:53:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=KFMK+pgLecrcBOWSnBCcsAcjHAy75eV4XhkGKcZfG1A=; b=KDfw8vlc7AF69L3vV69oWbubRq9lfJ+9xO3ZvYOlOB6J6WcybulCwgG6DZMwmEzQbE hVS9UkVwuGuuT0J2VyHfu9OfHuYH5KajdYqeqsioDEeAikH/OQOlknVbFu0Dyqbmy0s6 rF6bJJbUVaBfeW5k7k3UCgcque1GHtsUVOL8MYWHRMQg71w2CeIe6d2hvMZaausvWJ/X 8sLHv6x+npVsNP078eIQIMmpEaCT7+ES98UdiU0n8YNgiu6VlwNYHQ9LZEAdsroKOtnH zvnmQuKl4KEdz/O33iEYxyqqOqpiJGM8hqZ1ZTdgGNLoAO+l4M3/qt6wQl2mi2z+9Eqy FoOg== Received: by 10.14.127.202 with SMTP id d50mr9354308eei.193.1341834821204; Mon, 09 Jul 2012 04:53:41 -0700 (PDT) Received: from [10.2.5.127] ([77.86.30.139]) by mx.google.com with ESMTPS id t3sm93153302eeb.15.2012.07.09.04.53.40 (version=SSLv3 cipher=OTHER); Mon, 09 Jul 2012 04:53:40 -0700 (PDT) Message-ID: <4FFAC641.2050408@wandisco.com> Date: Mon, 09 Jul 2012 12:53:37 +0100 From: Gary Martin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: bloodhound-dev@incubator.apache.org Subject: Re: [Apache Bloodhound] BloodhoundInstall modified References: <20120709114841.EFA88810FB@bloodhound-vm> In-Reply-To: <20120709114841.EFA88810FB@bloodhound-vm> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQntXUauaq0RtwJ/BW2wG+aSKiNkHVH4IsH+xqmV3j2bZNnBqi3VpejHHEUrS26DYh846Nnz Hi, I just updated the https://issues.apache.org/bloodhound/wiki/BloodhoundInstall page to document using bloodhound_setup.py instead of installer.py If anyone can check it through, that would be great. Cheers, Gary On 07/09/2012 12:48 PM, Apache Bloodhound wrote: > Page "BloodhoundInstall" was changed by gjm > Diff URL: > Revision 6 > Changes: > -------8<------8<------8<------8<------8<------8<------8<------8<-------- > Index: BloodhoundInstall > ========================================================================= > --- BloodhoundInstall (version: 5) > +++ BloodhoundInstall (version: 6) > @@ -10,7 +10,6 @@ > {{{ > sudo apt-get install python python-setuptools python-pip > }}} > - > > At the moment it is also recommended that you install virtualenv with either > {{{ > @@ -79,36 +78,45 @@ > > To continue the installation, refer to BloodhoundDetailedInstallation before continuing to the Testing the Server section below. > > -== Installation Script == > +== Installation == > > -Bloodhound provides a simple installation script that is capable installing a basic Bloodhound setup based on the answers to a few questions. If you have Subversion installed, this is how you can try it out: > +To install Bloodhound, the following steps represent the current recommended method: > + > {{{ > - svn co https://svn.apache.org/repos/asf/incubator/bloodhound/trunk/installer/ > - cd installer > - python installer.py > + svn co https://svn.apache.org/repos/asf/incubator/bloodhound/trunk bloodhound > + cd bloodhound/installer > + virtualenv bloodhound > + source ./bloodhound/bin/activate > + pip install -r requirements-dev.txt > + python bloodhound_setup.py > }}} > > and answer the questions based on whether you chose to use SQLite or PostgreSQL. If you choose an SQLite installation, you should only have to specify a username and password to login to Bloodhound with once it is running. For PostgreSQL, the only extra questions will be to specify the database name, database user and the associated password. > > In fact it is possible to specify all these details on the command line which also allows you to set additional options like the host for the PostgreSQL database and provide a different location for the installation. For more information on these options, run > {{{ > - python installer.py --help > + python bloodhound_setup.py --help > }}} > > +Note that for windows, amongst the other differences you should use > + {{{ > + bloodhound\bin\activate.bat > + }}} > +to activate the bloodhound environment. > + > == Testing the Server == > -On linux and other unix-like systems you can then run bloodhound using:: > + > +If the bloodhound_setup.py script completed successfully, you will be informed of the appropriate command to run the test server and the appropriate url to check. If you did not set any advanced options, you should find that you can start bloodhound using: > {{{ > - source ./bloodhound/bin/activate > tracd ./bloodhound/environments/main --port=8000 > }}} > > -On windows you should instead use: > +and you will be able to access Bloodhound on > {{{ > - bloodhound\bin\activate.bat > - tracd bloodhound\environments\main --port-8000 > + http://localhost:8000/main/ > }}} > > -At this point you should be able to access Bloodhound on http://localhost:8000/main/ and you can login with the admin user and password details you supplied earlier. > +Remember that if you run tracd from a fresh shell, you will need to activate the virtual environment first and you should ensure that the path to the directory containing the environment is correct. An incorrect path to the environment will result in an "Environment not found" message, as will specifying the wrong environment name in the url. > > == Web Server == > > @@ -147,7 +155,7 @@ > AuthType Digest > AuthName "Bloodhound" > AuthDigestDomain /bloodhound > - AuthUserFile /path/to/bloodhound/environments/bloodhound.htdigest > + AuthUserFile /path/to/bloodhound/environments/main/bloodhound.htdigest > Require valid-user > > > -------8<------8<------8<------8<------8<------8<------8<------8<-------- > > -- > Page URL: > Apache Bloodhound > The Apache Bloodhound (incubating) issue tracker > > This is an automated message. Someone added your email address to be > notified of changes on 'BloodhoundInstall' page. > If it was not you, please report to .