Git Product home page Git Product logo

leap_mx-isis's Introduction

leap_mx

Note: Currently in development. Feel free to test, and please report bugs.

An asynchronous, transparently-encrypting remailer for the LEAP platform, using BigCouch/CouchDB and PGP/GnuPG, written in Twisted Python.

========================= tl;dr

================================= Virtualenv is somewhat equivalent to fakeroot for python packages, and -- due to being packaged with copies of pip and python -- can be used to bootstrap its own install process, allowing pip and python to be used with sudo.

[installing without sudo]

To install without using sudo, a bootstrap script to handle the setup process is provided. It does the following:

  1. Download, over SSL, the latest tarballs for virtualenv and virtualenvwrapper from pypi.
  2. Unpack the tarballs, use the system python interpreter to call the virtualenv.py script to setup a bootstrap virtual environment.
  3. Use the pip installed in the bootstrap virtualenv to install virtualenvwrapper in the bootstrap virtualenv.
  4. Obtain a copy of leap_mx with git clone.
  5. Use mkvirtualenv included in the virtualenvwrapper inside the bootstrap virtualenv to install a project virtualenv for leap_mx.

To use the bootstrap script, do:

$ wget -O bootstrap https://raw.github.com/isislovecruft/leap_mx/fix/no-suid-for-virtualenv/bootstrap
$ ./bootstrap
$ workon leap_mx

[installing in a regular virtualenv]

To install python, virtualenv, and get started, do:

$ sudo apt-get install python2.7 python-dev python-virtualenv virtualenvwrapper
$ git clone https://github.com/isislovecruft/leap_mx.git leap_mx
$ export WORKON_LEAPMX=${PWD}/leap_mx
$ source /usr/local/bin/virtualenvwrapper.sh
$ mkvirtualenv -a $WORKON_LEAPMX -r ${WORKON_LEAPMX}/pkg/mx-requirements.pip \
      --no-site-packages --setuptools --unzip-setuptools leap_mx

To get started quickly, without virtualenv, do:

$ sudo apt-get install python git
$ git clone https://github.com/isislovecruft/leap_mx.git
# pip install -r ./leap_mx/pkg/mx-requirements.pip

Although, it is advised to install inside a python virtualenv.

=========================

To get running, clone this repo, and (assuming you've already set up your virtualenv and obtained all the requirements) do:

$ ./start_mx.py --help

leap_mx-isis's People

Contributors

isislovecruft avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.