SecureDrop: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
Reverting changes
Ⅳᵗʰ (talk | contribs)
Line 45: Line 45:
run <code>vagrant provision</code> to re-initialization vagrant if there's a failure or issue
run <code>vagrant provision</code> to re-initialization vagrant if there's a failure or issue


cd into <code>/vagrant</code> inside vagrant dev environment
use ssh to interact in the vagrant provisioned virtual box environment <code>vagrant ssh</code>
 
cd into <code>/vagrant</code> inside vagrant dev environment, which maps to the cloned git repository in host environment


cd into <code>securedrop</code> folder, run <code> ./manage.py run</code>
cd into <code>securedrop</code> folder, run <code> ./manage.py run</code>

Revision as of 01:19, 7 November 2017

https://securedrop.org/


Android

https://guardianproject.info/apps/orbot/ https://guardianproject.info/apps/orfox/


Hackathon (Aaron Swartz Day)

https://gist.github.com/redshiftzero/81779c42b66738c9478e0f8b830f337f


Developing in Arch

trying to get this to work, hack in progress

git clone https://github.com/freedomofpress/securedrop

pacman -S vagrant python-virtualenvwrapper python-pip

Complete the required steps for Python2 compatibility: https://wiki.archlinux.org/index.php/Python/Virtual_environment#Installation_2

mkvirtualenv -p /usr/bin/python2 securedrop

workon securedrop to restart a env

install pip dependencies from inside virtualenv:

pip install -r securedrop/requirements/develop-requirements.txt
pip install -r testinfra/requirements.txt

NOTE: May also need to run pip install -r securedrop/requirements/securedrop-requirements.txt (This could be multi-platform issues?)

copy config example cp config.py.example config.py

pip install ansible

cd into git directory and run vagrant up

run vagrant provision to re-initialization vagrant if there's a failure or issue

use ssh to interact in the vagrant provisioned virtual box environment vagrant ssh

cd into /vagrant inside vagrant dev environment, which maps to the cloned git repository in host environment

cd into securedrop folder, run ./manage.py run