source: mailjam/INSTALL

Last change on this file was 16:cd4170142d87, checked in by Borja Lopez <borja@…>, 13 years ago

Renamed the project to Mailjam

File size: 2.7 KB
RevLine 
[16]1Mailjam - installation instructions
[12]2===================================
3
4.. contents::
5
6First, install dependencies
7---------------------------
8
[16]9So far, the only dependency you will need in order to run mailjam is Python [1]_
[12]10
[16]11Mailjam has been tested with python *2.7.x*, but it should work with versions
[13]12*2.6.x* too.
[12]13
14Please, refer to your operating system package system documentation to learn
15more about how to install python.
16
[16]17Second, install Mailjam
[12]18-----------------------
19
20Installing using pip
21++++++++++++++++++++
22
[16]23You can install Mailjam using pip [2]_::
[12]24
[16]25 pip install -e https://bitbucket.org/codigo23/mailjam#egg=mailjam
[12]26
27.. note::
28
[16]29 Mailjam has not been recorded/uploaded to pypi [3]_ yet, so, in order
[12]30 to install it using pip you will have to provide the URL for the public
[16]31 Mailjam repo.
[12]32
33Installing using easy_install
34+++++++++++++++++++++++++++++
35
[16]36You can not install Mailjam using easy_install [4]_ yet (until we do
[12]37record/upload it to pypi)
38
39Installing inside a virtualenv
40++++++++++++++++++++++++++++++
41
[16]42You can install Mailjam inside a virtualenv [5]_. Just create a virtualenv::
[12]43
44 virtualenv /path/to/your/env
45
46Then 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
[16]57And, once the environment has been activated, use pip to install Mailjam::
[12]58
[16]59 env$ pip install -e https://bitbucket.org/codigo23/mailjam#egg=mailjam
[12]60
61Installing from sources
62+++++++++++++++++++++++
63
64Releases
65********
66
67There are no releases yet. You will have to install it from the repository.
68
69From repository
70***************
71
[16]72The source code of Mailjam is hosted in bitbucket [6]_. In order to grab
[12]73the latest sources you need Mercurial [7]_.
74
75To get a copy of the sources, just *clone* the repository::
76
[16]77 hg clone https://bitbucket.org/codigo23/mailjam mailjam-repo
[12]78
[16]79Then, go inside the *mailjam-repo* directory and run::
[12]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
[16]89Setting up Mailjam
[12]90------------------
91
92TBW
93
[16]94Running Mailjam
[12]95---------------
96
97TBW
98
99Running tests (developers only)
100-------------------------------
101
102TBW
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
[16]109.. [6] https://bitbucket.org/codigo23/mailjam
[12]110.. [7] http://mercurial.selenic.com
111.. [8] http://sudo.ws
Note: See TracBrowser for help on using the repository browser.