Skip to content

developing for everpad

Vladimir Iakovlev edited this page May 18, 2013 · 7 revisions

On debian/ubuntu

You will still need to add the ppa to develop. You will also need git installed. These tasks can be accomplished by typing the following:

sudo add-apt-repository ppa:nvbn-rm/ppa
sudo apt-get update
sudo apt-get install git

Now just pull the everpad dependencies and grab the source code from the GitHub repository:

sudo apt-get build-dep everpad
git clone git://github.com/nvbn/everpad.git everpad-git
cd everpad-git
sudo python setup.py develop

Then make sure you've closed the indicator (click Exit from the everpad unity applet(?)) and killed lens and provider(killall everpad everpad-lens everpad-provider) and back on the console:

everpad-provider  # for provider
everpad           # for indicator
everpad-lens      # for unity lens

When you're done, you should be able to run

sudo python setup.py develop --uninstall

To restore your environment back to the ppa version

On other linux

First you need to install dbus, sqlite, qt and pyside with you package manager. After that install deps with pip or easy_install:

pip install sqlalchemy BeautifulSoup html2text py-oauth2 pysqlite keyring

Now clone everpad and make it ready for developing:

git clone git://github.com/nvbn/everpad.git everpad-git
cd everpad-git
python setup.py develop

Then make sure you've closed the indicator (click Exit from the everpad unity applet(?)) and killed lens and provider(killall everpad everpad-lens everpad-provider) and back on the console:

everpad-provider  # for provider
everpad           # for indicator
everpad-lens      # for unity lens

When you're done, you should be able to run

sudo python setup.py develop --uninstall