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 .

Reply via email to