Fabric tasks for working with Invenio repository software
Project description
Invenio Fabric
Fabric library tasks for working with Invenio
Requirements:
Fabric 1.4+: http://docs.fabfile.org
Optional:
Virtualenv: http://pypi.python.org/pypi/virtualenv
Virtualenvwrapper: http://pypi.python.org/pypi/virtualenvwrapper
Pythonbrew: https://github.com/utahta/pythonbrew
Installation
Install Virtualenv, Fabric, Virutalenvwrapper, and Pythonbrew
Virtualenvwrapper:
` export WORKON_HOME=~/envs mkdir -p $WORKON_HOME pip install virtualenv Fabric virtualenvwrapper 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, make sure your Invenio source code is in ~/src/ or alternative specify CFG_SRCDIR in your startup file:
` export CFG_SRCDIR=~/private/src/ `
Next run:
` cd invenio-fabric/examples/atlantis fab -f fabfile_minimal.py loc bootstrap fab -f fabfile_advanced.py loc:py=2.7,ref=master bootstrap `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file invenio-fabric-0.2.1.tar.gz
.
File metadata
- Download URL: invenio-fabric-0.2.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d8f97fe3c6803a8409c185548fb0a5e882f643a0d532f6e445a4193cda3696 |
|
MD5 | b9e2ee87563676acc2a4c5b4571cbfe2 |
|
BLAKE2b-256 | 358bd8e64e3c0090df1e0739125c523a4648be9d404e4605692f1cddd33c8fcb |