SecureDrop: Difference between revisions
m arch/dev? |
m →Developing in Arch: vagrant provision |
||
| Line 26: | Line 26: | ||
<code>mkvirtualenv -p /usr/bin/python2 securedrop</code> | <code>mkvirtualenv -p /usr/bin/python2 securedrop</code> | ||
<code> | <code>workon securedrop</code> to restart a env | ||
install pip dependencies from inside virtualenv: | |||
<pre> | <pre> | ||
| Line 39: | Line 35: | ||
</pre> | </pre> | ||
cd into securedrop folder, run <code> ./manage.py run</code> | <code>pip install ansible</code> | ||
cd into git directory and run <code>vagrant up</code> | |||
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 | |||
cd into <code>securedrop</code> folder, run <code> ./manage.py run</code> | |||
Revision as of 18:04, 5 November 2017
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
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
cd into /vagrant inside vagrant dev environment
cd into securedrop folder, run ./manage.py run