From bb67946efcbffcbfd69f981a50f8ed4db11183e6 Mon Sep 17 00:00:00 2001 From: amontero <> Date: Thu, 12 Dec 2013 19:57:21 +0000 Subject: [PATCH] [Imported from Trac: page NewbieDeveloperSetup, version 18] --- NewbieDeveloperSetup.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/NewbieDeveloperSetup.md b/NewbieDeveloperSetup.md index 38ba9fb..b9ab447 100644 --- a/NewbieDeveloperSetup.md +++ b/NewbieDeveloperSetup.md @@ -12,16 +12,26 @@ The easiest workflow you can use is by working using Github's [Pull Requests](ht 1. Set up your OS. (I tinker a lot with mine so I maybe miss some). You have to [install python in your OS](http://python.org/download/) for tahoe to run. Most Linux distributions have it in their software repositories. -2. tahoe-lafs source code is hosted in git repositories [on github](https://github.com/tahoe-lafs/tahoe-lafs/). Get git running in your machine. For Ubuntu just do this from a shell: sudo apt-get install git +2. tahoe-lafs source code is hosted in git repositories [on github](https://github.com/tahoe-lafs/tahoe-lafs/). Get git running in your machine. For Ubuntu just do this from a shell: +``` +sudo apt-get install git +``` 3. Get the code from the main repo [this way](Dev#SourceCodeviarevisioncontrol) 4. IDE: Install [Eclipse](http://eclipse.org) + [PyDev](http://pydev.org) in your platform. You can start from a "classical" Eclipse install and add the "Software sites" URL . You can then go to 'Install new software' menu item and add [PyDev](PyDev) from there. -(to be continued...) -5. (ToDo) Run the tests +5. Hack as if there was no tomorrow :) -6. ... +6. Run the tests +``` + $ python setup.py trial +``` +7. Build and run +``` +$ python setup.py build +$ python setup.py --help-commands # TIP: run this for a complete list of options +``` m. Learn to use the [logging system]source:trunk/docs/logging.rst