Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Run command in the context same as application

Project Description

Run your commands in your application context. Let’s eliminate cd and source in your crontab!


  • Supports Python 2.7 only

We’ll be supporting 3.5 soon.


$ pip install --user appdo
(venv)$ pip install appdo


First, write your config file ~/.appdo.conf in TOML.

cd = "~/work/myapp"
source = ["/etc/profile", "~/.bash_profile"]
prefix = "bundle exec"

PAGER    = "cat"
RACK_ENV = "staging"

Then run appdo command. The commands will be executed in the config manner.

$ appdo rake -vT

Which is equivalent to:

$ cd ~/work/myapp
$ source /etc/profile
$ source ~/.bash_profile
$ PAGER=cat RACK_ENV=staging bundle exec rake -vT


0.2.0 (2016-04-24)

  • Publicly released.
  • License changed into Apache License
  • cd option added to config file
  • returns error when no command specified.
  • –listapp command line option added to see what app you’ve set

0.1.2 (2016-04-22)

  • Initial release

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(7.3 kB) Copy SHA256 Hash SHA256
2.7 Egg Apr 23, 2016
(9.9 kB) Copy SHA256 Hash SHA256
Source Apr 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting