-
-
Save akoumjian/3156940 to your computer and use it in GitHub Desktop.
Salt Development Environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Get OS/build dependancies | |
$ sudo apt-get install python2.7-dev build-essential libtool autoconf automake swig uuid-dev python-m2crypto python-setuptools | |
## Download 0MQ | |
$ wget http://download.zeromq.org/zeromq-2.2.0.tar.gz | |
## Unpack | |
$ tar -xvzf zeromq-2.2.0.tar.gz | |
## CD into dir | |
$ cd zeromq-2.2.0/ | |
## configure and make (upon configure's success) | |
$ ./configure && make | |
## make install | |
$ sudo make install | |
## per 6. On Linux, run sudo ldconfig after installing ØMQ. | |
## http://www.zeromq.org/area:download | |
$ sudo ldconfig | |
# Install salt in development mode | |
$ sudo python setup.py develop | |
## comment out M2Crypto in requirements.txt | |
# pip requirements file for Salt | |
Jinja2 | |
#M2Crypto | |
msgpack-python | |
PyCrypto | |
PyYAML | |
pyzmq >= 2.1.9 | |
## install requirements | |
(venv)$ pip install -r requirements.txt | |
(venv)$ python | |
>> import salt | |
>> | |
Success! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment