Skip to main content

Fabric tasks for working with Invenio repository software

Project description

Invenio Fabric

Fabric library tasks for working with Invenio

Requirements:

Optional:

Installation

  • Install Virtualenv, Fabric, Virutalenvwrapper, and Pythonbrew

Virtualenvwrapper:

` export WORKON_HOME=~/envs mkdir -p $WORKON_HOME pip install invenio-fabric curl -kL http://xrl.us/pythonbrewinstall | bash `

Add this to your startup-file (perhaps you need to edit the path to virtualenvwrapper.sh):

` export WORKON_HOME=~/envs source /usr/local/bin/virtualenvwrapper.sh [[ -s $HOME/.pythonbrew/etc/bashrc ]] && source $HOME/.pythonbrew/etc/bashrc `

To install e.g Python 2.4.6 run:

` pythonbrew install 2.4.6 `

Usage

Invenio Fabric is only a library of Fabric tasks, so you need to create your own fabfile.py. For a complete example for Atlantis Institute of Fictive Science please see examples/atlantis/. First, specify where your Invenio source code is located via CFG_SRCDIR environment variable in your startup file:

` export CFG_SRCDIR=~/private/src/ `

Next, run:

` cd invenio-fabric/examples/atlantis mv fabfile_advanced.py fabfile.py fab loc:py=2.4,ref=master bootstrap `

Project details


Download files

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

Source Distribution

invenio-fabric-0.2.2.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file invenio-fabric-0.2.2.tar.gz.

File metadata

File hashes

Hashes for invenio-fabric-0.2.2.tar.gz
Algorithm Hash digest
SHA256 983991517a8d46faa7c4de3aab0545b50cde316e1e6b9ce13e498e71a10f8368
MD5 79a9bdee48cfe72d38abed139851ae25
BLAKE2b-256 a210be8f58c642f8757c27e8b89d200cd5e9d68b1f8878e37adda43541526e04

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page