You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Gary Martin <ga...@wandisco.com> on 2012/09/13 17:49:00 UTC

Re: [Apache Bloodhound] BloodhoundContributing modified

I've just updated the BloodhoundContributing page as it turned out that 
the information there was incorrect. I also added a little information 
to help developers when they wish to see the effects of changing 
templates without a server restart.

Can anyone spot any other improvements that can be made?

Cheers,
     Gary


On 13/09/12 16:35, Apache Bloodhound wrote:
> Page "BloodhoundContributing" was changed by gjm
> Diff URL: <https://issues.apache.org/bloodhound/wiki/BloodhoundContributing?action=diff&version=7>
> Revision 7
> Changes:
> -------8<------8<------8<------8<------8<------8<------8<------8<--------
> Index: BloodhoundContributing
> =========================================================================
> --- BloodhoundContributing (version: 6)
> +++ BloodhoundContributing (version: 7)
> @@ -12,28 +12,31 @@
>   
>   Apache Bloodhound is written in Python and so, if you have already successfully installed Bloodhound, you will probably have all that you need to develop it too.
>   
> -BloodhoundInstall and BloodhoundDetailedInstallation provide more detailed information about installing but, if you already have Python, python-setuptools, python-pip and python-virtualenv, installation can be as simple as:
> +BloodhoundInstall and BloodhoundDetailedInstallation both provide information about installing but, if you already have Python, python-setuptools, python-pip and python-virtualenv, installation can be achieved as follows:
>   
>   {{{
> -svn co https://svn.apache.org/repos/asf/incubator/bloodhound/trunk/installer/
> -cd installer
> -python installer.py --database-type=sqlite --admin-user=admin --admin-password=adminpasswd
> +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 --database-type=sqlite --admin-user=admin --admin-password=adminpasswd
>   }}}
>   
> -after which you can activate the bloodhound environment and run the standalone server:
> +after which you can run the standalone server:
>   
> - * on Linux:
> -   {{{
> -   source bloodhound/bin/activate
> -   tracd -r --port=8000 bloodhound/environments/main
> -   }}}
> - * on Windows:
> -   {{{
> -   bloodhound\scripts\activate.bat
> -   tracd -r --port=8000 bloodhound\environments\main
> -   }}}
> +{{{
> +tracd -r --port=8000 bloodhound/environments/main
> +}}}
>   
> -With this method of installation, the source code for Trac, !TracAccountManager and !BloodhoundMultiProduct packages (along with future modules that are installed by default) will be found in {{{bloodhound/src/}}}. You should find that when you make changes to the associated source code, when using the -r option on tracd, the server will reload and the edited code will be run instead of the original.
> +With this method of installation, the source code for Trac, !TracAccountManager and !BloodhoundMultiProduct packages (along with future modules that are installed by default) will be found in {{{bloodhound/src/}}}.
> +
> +You should find that when you make changes to the associated source code, when using the {{{-r}}} option on {{{tracd}}}, the server will reload and the edited code will be run instead of the original. In order to get templates to reload after modifications are made, you can edit {{{bloodhound/environments/main/conf/trac.ini}} and add the following line to the {{{[trac]}}} section:
> +
> +{{{
> +#!ini
> +auto_reload = true
> +}}}
>   
>   == Contributing Code ==
>   
> -------8<------8<------8<------8<------8<------8<------8<------8<--------
>
> --
> Page URL: <https://issues.apache.org/bloodhound/wiki/BloodhoundContributing>
> Apache Bloodhound <https://issues.apache.org/bloodhound/>
> The Apache Bloodhound (incubating) issue tracker
>
> This is an automated message. Someone added your email address to be
> notified of changes on 'BloodhoundContributing' page.
> If it was not you, please report to .