capo /

Filename Size Date modified Message
bin
capo
87 B
1.5 KB
128 B
1.8 KB
10.0 KB
1.7 KB

Capo

Capo is a simple wrapper for some Django pluggable applications. It comes as bunch of templates, media files, simple tools and management script capo-admin.

Django is a web framework written in Python and it strongly encourages developers not to break DRY principle. Following the advice, Capo makes use of already existing Django apps.

capo-admin

capo-admin is heart of Capo. Try it by running help command to see what it has to offer and don't miss it's own documentation. Here is only a list of available commands with summary for each of them.

  • help - prints help text
  • initenv [options] PATH - initializes new capo environment at given PATH.
  • manage [options] PATH - in fact, it is only a wrapper for standard Django management utility (django-admin.py)

Installation

Installation of capo is very simple once you've installed prerequisites.

Install capo

After requirements are met, simply run:

python setup.py install

You may also install most recent development version directly from mecurial repository using pip:

pip install -e hg+http://bitbucket.org/lukaszb/capo#egg=capo

Quickstart

Want to try it fast? If you have already installed necessary packages you can start really quickly. All you have to do is to run following command:

capo-admin.py initenv mycapo

This command would create initial project structure, copy necessary media files and syncronize database (sqlite3 by default). Now you can start dev webserver:

cd myapo
python capoenv/manage.py runserver
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.