Revision 5c801047 docs/installation.rst
b/docs/installation.rst | ||
---|---|---|
6 | 6 |
|
7 | 7 |
* Kamaki repository: `http://code.grnet.gr/git/kamaki <http://code.grnet.gr/git/kamaki>`_ |
8 | 8 |
|
9 |
* Synnefo Linux packages: `http://apt.dev.grnet.gr <http://apt.dev.grnet.gr>`_ |
|
9 |
* Synnefo Linux packages: `http://apt.dev.grnet.gr <http://apt.dev.grnet.gr>`_, `http://apt2.dev.grnet.gr <http://apt2.dev.grnet.gr>`_
|
|
10 | 10 |
|
11 | 11 |
Linux and Unix-like enviroments |
12 | 12 |
------------------------------- |
... | ... | |
157 | 157 |
Windows |
158 | 158 |
------- |
159 | 159 |
|
160 |
Since version 0.6.2 kamaki can run on Windows, either on standard Windows console, or inside an improved command line shell. |
|
160 |
Since version 0.6.2 kamaki can run on Windows, either on standard Windows console, or inside an improved command line shell. The present guide presents a tested method for using kamaki in windows |
|
161 |
|
|
162 |
Requirements |
|
163 |
^^^^^^^^^^^^ |
|
164 |
|
|
165 |
* Python 2.7 or better (Official versions `here <http://www.python.org/getit>`_) |
|
166 |
|
|
167 |
* Git (download `windows version <http://git-scm.com/download/win>`_) |
|
168 |
|
|
169 |
* Setuptools (Official versions and workarrounds `here <http://pypi.python.org/pypi/setuptools>`_) |
|
170 |
|
|
171 |
Installation from source |
|
172 |
^^^^^^^^^^^^^^^^^^^^^^^^ |
|
173 |
|
|
174 |
Install python |
|
175 |
"""""""""""""" |
|
176 |
|
|
177 |
Download and run the Windows installer from `here <http://www.python.org/getit>`_ |
|
178 |
|
|
179 |
Users should pick the installer that fits their windows version and architecture. |
|
180 |
|
|
181 |
Add python to windows path |
|
182 |
"""""""""""""""""""""""""" |
|
183 |
|
|
184 |
The following will allow users to run python and python scripts from command line. |
|
185 |
|
|
186 |
* Select **System** from the Control Panel, select the **Advanced** tab, the **Environment Variables** button and then find the **PATH** (user or system) and **edit** |
|
187 |
|
|
188 |
* Without removing existing values, append the following to PATH: |
|
189 |
|
|
190 |
C:\Python;C:\Python\Scripts |
|
191 |
|
|
192 |
.. note:: Path values are separated by a semicolons |
|
193 |
|
|
194 |
.. warning:: C:\Python should be replaced with the actual python path in the system, e.g. C:\Python27 |
|
195 |
|
|
196 |
Install setuptools |
|
197 |
"""""""""""""""""" |
|
198 |
|
|
199 |
According to the corresponding `python.org page <http://pypi.python.org/pypi/setuptools>`_, the setuptools installer doesn't currently work on 64bit machines. |
|
200 |
|
|
201 |
* Users with 32-bit operating systems should download and run the graphic installer |
|
202 |
|
|
203 |
* Users with 64-bit machines should download the `ez_setup.py <http://peak.telecommunity.com/dist/ez_setup.py>`_ script and install it from a command shell. In the following, the script is downloaded at C:\Downloads:: |
|
204 |
|
|
205 |
C:\> cd Downloads |
|
206 |
C:\Downloads\> python ez_setup.py |
|
207 |
... |
|
208 |
Installation finished |
|
209 |
C:\Downloads\> |
|
210 |
|
|
211 |
Install GIT |
|
212 |
""""""""""" |
|
213 |
|
|
214 |
Download GIT from `here <http://git-scm.com/download/win>`_ and run the graphic installer. During the installation, users will be able to modify some installation options. The present guide is tested with the default selections. |
|
215 |
|
|
216 |
After the installation is completed, a GIT standalone shell will be installed (a desktop shortcut is created, by default). Users are advised to run kamaki through this shell. |
|
217 |
|
|
218 |
Install kamaki |
|
219 |
"""""""""""""" |
|
220 |
|
|
221 |
* Run the GIT standalone shell |
|
222 |
|
|
223 |
* Enter the location where kamaki will be installed, e.g. *C\:* |
|
224 |
|
|
225 |
.. code-block:: console |
|
226 |
|
|
227 |
$ cd /c/ |
|
228 |
|
|
229 |
* Download source from GRNET repository |
|
230 |
|
|
231 |
.. code-block:: console |
|
232 |
|
|
233 |
$ git clone http://code.grnet.gr/git/kamaki |
|
234 |
Cloning into 'kamaki'... |
|
235 |
Receiving objects: ... |
|
236 |
Resolving Deltas: ... |
|
237 |
|
|
238 |
* Enter source and install kamaki |
|
239 |
|
|
240 |
.. code-block:: console |
|
241 |
|
|
242 |
$ cd kamaki |
|
243 |
$ python setup.py install |
|
244 |
running install |
|
245 |
... |
|
246 |
Finished processing dependencies for kamaki==0.6.2 |
|
247 |
|
|
248 |
.. warning:: kamaki version should be 0.6.2 or better, otherwise it will not function. Users can test that by running:: |
|
249 |
|
|
250 |
$ kamaki --version |
Also available in: Unified diff