[12] | 1 | Postman - installation instructions
|
---|
| 2 | ===================================
|
---|
| 3 |
|
---|
| 4 | .. contents::
|
---|
| 5 |
|
---|
| 6 | First, install dependencies
|
---|
| 7 | ---------------------------
|
---|
| 8 |
|
---|
| 9 | So far, the only dependency you will need in order to run postman is Python [1]_
|
---|
| 10 |
|
---|
| 11 | Postman has been tested with python *2.7.x*, but it should work with versions
|
---|
[13] | 12 | *2.6.x* too.
|
---|
[12] | 13 |
|
---|
| 14 | Please, refer to your operating system package system documentation to learn
|
---|
| 15 | more about how to install python.
|
---|
| 16 |
|
---|
| 17 | Second, install Postman
|
---|
| 18 | -----------------------
|
---|
| 19 |
|
---|
| 20 | Installing using pip
|
---|
| 21 | ++++++++++++++++++++
|
---|
| 22 |
|
---|
| 23 | You can install Postman using pip [2]_::
|
---|
| 24 |
|
---|
| 25 | pip install -e https://bitbucket.org/codigo23/postman#egg=postman
|
---|
| 26 |
|
---|
| 27 | .. note::
|
---|
| 28 |
|
---|
| 29 | Postman has not been recorded/uploaded to pypi [3]_ yet, so, in order
|
---|
| 30 | to install it using pip you will have to provide the URL for the public
|
---|
| 31 | Postman repo.
|
---|
| 32 |
|
---|
| 33 | Installing using easy_install
|
---|
| 34 | +++++++++++++++++++++++++++++
|
---|
| 35 |
|
---|
| 36 | You can not install Postman using easy_install [4]_ yet (until we do
|
---|
| 37 | record/upload it to pypi)
|
---|
| 38 |
|
---|
| 39 | Installing inside a virtualenv
|
---|
| 40 | ++++++++++++++++++++++++++++++
|
---|
| 41 |
|
---|
| 42 | You can install Postman inside a virtualenv [5]_. Just create a virtualenv::
|
---|
| 43 |
|
---|
| 44 | virtualenv /path/to/your/env
|
---|
| 45 |
|
---|
| 46 | Then activate it::
|
---|
| 47 |
|
---|
| 48 | source /path/to/your/env/bin/activate
|
---|
| 49 |
|
---|
| 50 | .. note::
|
---|
| 51 |
|
---|
| 52 | If your shell is **csh**/**tcsh** remember you have to activate the
|
---|
| 53 | environment this way::
|
---|
| 54 |
|
---|
| 55 | source /path/to/your/env/bin/activate.csh
|
---|
| 56 |
|
---|
[13] | 57 | And, once the environment has been activated, use pip to install Postman::
|
---|
[12] | 58 |
|
---|
| 59 | env$ pip install -e https://bitbucket.org/codigo23/postman#egg=postman
|
---|
| 60 |
|
---|
| 61 | Installing from sources
|
---|
| 62 | +++++++++++++++++++++++
|
---|
| 63 |
|
---|
| 64 | Releases
|
---|
| 65 | ********
|
---|
| 66 |
|
---|
| 67 | There are no releases yet. You will have to install it from the repository.
|
---|
| 68 |
|
---|
| 69 | From repository
|
---|
| 70 | ***************
|
---|
| 71 |
|
---|
| 72 | The source code of Postman is hosted in bitbucket [6]_. In order to grab
|
---|
| 73 | the latest sources you need Mercurial [7]_.
|
---|
| 74 |
|
---|
| 75 | To get a copy of the sources, just *clone* the repository::
|
---|
| 76 |
|
---|
| 77 | hg clone https://bitbucket.org/codigo23/postman postman-repo
|
---|
| 78 |
|
---|
| 79 | Then, go inside the *postman-repo* directory and run::
|
---|
| 80 |
|
---|
| 81 | python setup.py install
|
---|
| 82 |
|
---|
| 83 | .. warning::
|
---|
| 84 |
|
---|
| 85 | If you want to install it *system-wide*, probably you will need *root*
|
---|
| 86 | privileges (check your OS documentation to learn more about how to get
|
---|
| 87 | *root* privileges - for example using sudo [8]_)
|
---|
| 88 |
|
---|
| 89 | Setting up Postman
|
---|
| 90 | ------------------
|
---|
| 91 |
|
---|
| 92 | TBW
|
---|
| 93 |
|
---|
| 94 | Running Postman
|
---|
| 95 | ---------------
|
---|
| 96 |
|
---|
| 97 | TBW
|
---|
| 98 |
|
---|
| 99 | Running tests (developers only)
|
---|
| 100 | -------------------------------
|
---|
| 101 |
|
---|
| 102 | TBW
|
---|
| 103 |
|
---|
| 104 | .. [1] http://python.org
|
---|
| 105 | .. [2] http://www.pip-installer.org/en/latest/index.html
|
---|
| 106 | .. [3] http://pypi.python.org/pypi
|
---|
| 107 | .. [4] http://peak.telecommunity.com/DevCenter/EasyInstall
|
---|
| 108 | .. [5] http://www.virtualenv.org/en/latest/index.html
|
---|
| 109 | .. [6] https://bitbucket.org/codigo23/postman
|
---|
| 110 | .. [7] http://mercurial.selenic.com
|
---|
| 111 | .. [8] http://sudo.ws
|
---|