onionshare/BUILD.md

45 lines
1.1 KiB
Markdown
Raw Normal View History

2014-06-10 13:31:19 -04:00
# Building OnionShare
## GNU/Linux
Start by getting a copy of the source code:
git clone https://github.com/micahflee/onionshare.git
cd onionshare
*For .deb-based distros (like Debian, Ubuntu, Linux Mint):*
sudo apt-get install -y build-essential fakeroot python-all python-stdeb python-flask python-stem python-webkit
./build_deb.sh
sudo dpkg -i deb_dist/onionshare_*.deb
*For .rpm-based distros (Red Hat, Fedora, CentOS):*
sudo yum install -y rpm-build python-flask python-stem pywebkitgtk
./build_rpm.sh
sudo yum install -y dist/onionshare-*.rpm
2014-06-10 13:31:19 -04:00
## Mac OS X
2014-06-11 00:10:37 -04:00
*Note: This is a work-in-progress. The OnionShare GUI doesn't yet work in Mac OS X. See https://github.com/micahflee/onionshare/issues/43 for progress.*
2014-06-11 00:10:37 -04:00
Get a copy of the source code:
2014-06-10 13:31:19 -04:00
2014-06-11 00:10:37 -04:00
git clone https://github.com/micahflee/onionshare.git
cd onionshare
2014-06-10 13:31:19 -04:00
2014-06-11 00:10:37 -04:00
Install py2app (if you don't have pip installed, you can `sudo easy_install pip`):
2014-06-10 13:31:19 -04:00
sudo pip install py2app
2014-06-11 00:10:37 -04:00
Then build the .app:
python setup.py py2app
Now you'll see `dist/OnionShare.app` with a nice icon. However, it won't run yet.
## Windows
2014-06-10 13:31:19 -04:00
*Note: Haven't started figuring this out yet.*