source: mailjam/docs/src/_build/html/_sources/install.txt@ 18:40ba502fe87e

Last change on this file since 18:40ba502fe87e was 16:cd4170142d87, checked in by Borja Lopez <borja@…>, 12 years ago

Renamed the project to Mailjam

File size: 3.2 KB
Line 
1Installation instructions
2=========================
3
4.. contents::
5
6.. _install_dependencies:
7
8First, install dependencies
9---------------------------
10
11So far, the only dependency you will need in order to run mailjam is Python_
12
13Mailjam has been tested with python *2.7.x*, but it should work with versions
14*2.6.x* too.
15
16Please, refer to your operating system package system documentation to learn
17more about how to install python.
18
19.. _install_mailjam:
20
21Second, install Mailjam
22-----------------------
23
24.. _install_with_pip:
25
26Installing using pip
27++++++++++++++++++++
28
29You can install Mailjam using pip_::
30
31 pip install -e https://bitbucket.org/codigo23/mailjam#egg=mailjam
32
33.. note::
34
35 Mailjam has not been recorded/uploaded to pypi_ yet, so, in order to install
36 it using pip you will have to provide the URL for the public Mailjam repo.
37
38.. _install_with_easy_install:
39
40Installing using easy_install
41+++++++++++++++++++++++++++++
42
43You can not install Mailjam using easy_install_ yet (until we do record/upload
44it to pypi)
45
46.. _install_inside_virtualenv:
47
48Installing inside a virtualenv
49++++++++++++++++++++++++++++++
50
51You can install Mailjam inside a virtualenv_. Just create a virtualenv::
52
53 virtualenv /path/to/your/env
54
55Then activate it::
56
57 source /path/to/your/env/bin/activate
58
59.. note::
60
61 If your shell is **csh**/**tcsh** remember you have to activate the
62 environment this way::
63
64 source /path/to/your/env/bin/activate.csh
65
66And, once the environment has been activated, use pip to install Mailjam::
67
68 env$ pip install -e https://bitbucket.org/codigo23/mailjam#egg=mailjam
69
70.. _install_from_sources:
71
72Installing from sources
73+++++++++++++++++++++++
74
75When installing from sources, you can download one of the official releases
76or you can go with the *bleeding edge* and get a copy of the official source
77code repository.
78
79.. _install_from_release:
80
81Releases
82********
83
84**There are no releases yet**. You will have to install it from the repository.
85
86.. _install_from_repository:
87
88From repository
89***************
90
91The source code of Mailjam is hosted in bitbucket_ [1]_. In order to grab
92the latest sources you need Mercurial_.
93
94To get a copy of the sources, just *clone* the repository::
95
96 hg clone https://bitbucket.org/codigo23/mailjam mailjam-repo
97
98Then, go inside the *mailjam-repo* directory and run::
99
100 python setup.py install
101
102.. warning::
103
104 If you want to install it *system-wide*, probably you will need *root*
105 privileges (check your OS documentation to learn more about how to get
106 *root* privileges - for example using sudo_)
107
108.. note::
109
110 This process will work inside a virtualenv_ too.
111
112.. _install_setting_up_mailjam:
113
114Setting up Mailjam
115------------------
116
117TBW
118
119.. _install_running_mailjam:
120
121Running Mailjam
122---------------
123
124TBW
125
126.. _install_running_tests:
127
128Running tests (developers only)
129-------------------------------
130
131TBW
132
133.. _Python: http://python.org
134.. _pip: http://www.pip-installer.org/en/latest/index.html
135.. _pypi: http://pypi.python.org/pypi
136.. _easy_install: http://peak.telecommunity.com/DevCenter/EasyInstall
137.. _virtualenv: http://www.virtualenv.org/en/latest/index.html
138.. _bitbucket: https://bitbucket.org
139.. _Mercurial: http://mercurial.selenic.com
140.. _sudo: http://sudo.ws
141
142.. [1] https://bitbucket.org/codigo23/mailjam
Note: See TracBrowser for help on using the repository browser.