Mercurial > libervia-pubsub
comparison doc/installation.rst @ 409:f527dc927a6a
doc (installation): update
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 16 Aug 2019 12:25:35 +0200 |
parents | 105a0772eedd |
children | f124ed5ea78b |
comparison
equal
deleted
inserted
replaced
408:3c2c602ce399 | 409:f527dc927a6a |
---|---|
3 ============ | 3 ============ |
4 | 4 |
5 This are the instructions to install SàT Pubsub. | 5 This are the instructions to install SàT Pubsub. |
6 | 6 |
7 Please note that SàT PubSub, as all SàT ecosystem, is still using Python 2 (this will | 7 Please note that SàT PubSub, as all SàT ecosystem, is still using Python 2 (this will |
8 change for 0.8 version which will be Python 3 only), so all instructions below have to be | 8 change for SàT PubSub 0.4 version which will be Python 3 only), so all instructions below |
9 made using python 2. | 9 have to be made using python 2. |
10 | 10 |
11 .. note:: | 11 .. note:: |
12 | 12 |
13 SàT PubSub is not released yet and this documentation is work in progress | 13 SàT PubSub is not released yet and this documentation is work in progress |
14 | 14 |
34 - psycopg2 | 34 - psycopg2 |
35 | 35 |
36 Installation From Sources | 36 Installation From Sources |
37 ------------------------- | 37 ------------------------- |
38 | 38 |
39 .. note:: | |
40 | |
41 The installation script is not up-to-date (notably requirements). The situation should | |
42 improve soon. | |
43 | |
44 To install SàT PubSub we'll work in a virtual environment. On Debian and derivatives you | 39 To install SàT PubSub we'll work in a virtual environment. On Debian and derivatives you |
45 should easily install dependencies with this:: | 40 should easily install dependencies with this:: |
46 | 41 |
47 sudo apt-get install postgresql python-psycopg2 python-dev mercurial virtualenv | 42 sudo apt-get install postgresql python-dev mercurial virtualenv |
48 | 43 |
49 Now go in a location where you can install SàT Pubsub, for instance your home directory:: | 44 Now go in a location where you can install SàT Pubsub, for instance your home directory:: |
50 | 45 |
51 $ cd | 46 $ cd |
52 | 47 |
53 And enter the following commands (note that *virtualenv2* may be named | 48 And enter the following commands (note that *virtualenv2* may be named |
54 *virtualenv* on some distributions, just be sure it's Python **2** version):: | 49 *virtualenv* on some distributions, just be sure it's Python **2** version):: |
55 | 50 |
56 $ virtualenv2 env | 51 $ virtualenv2 env |
57 $ source env/bin/activate | 52 $ source env/bin/activate |
58 $ pip install uuid twisted wokkel psycopg2 sat_tmp | |
59 $ pip install hg+https://repos.goffi.org/sat_pubsub | 53 $ pip install hg+https://repos.goffi.org/sat_pubsub |
60 | 54 |
61 Post Installation | 55 Post Installation |
62 ----------------- | 56 ----------------- |
63 | 57 |