Librewary is an online equipment lending management system written in the Python django framework.
It currently only supports one brewing club per deployment, but support multiple groups is a forthcoming feature.
Dual licensed under MIT and GPLv2.
sudo apt-get install python-pip
sudo pip install virtualenvwrapper
sudo pip install autoenv
- Append this to
.bashrc
:
# virtualenvwrapper
export WORKON_HOME=$HOME/.virtualenvs
export PROJECT_HOME=$HOME/Devel
source /usr/local/bin/virtualenvwrapper.sh
# autoenv
source ~/packages/autoenv/activate.sh
mkvirtualenv librewary
mkdir -p code
cd code/
git clone git@github.com:pztrick/librewary.git
cd librewary/
cp .env.copy .env
cd .
(respondy
es to executing the autoenv script)pip install -r requirements.txt
python manage.py syncdb
python manage.py migrate
echo '127.0.0.1 localhost.librewary.com' | sudo tee -a /etc/hosts
(trick required for localhost Facebook login)python manage.py runserver 0.0.0.0:4000
(if you use the.env
file, this is aliased tors
)- Copy all the
.template
files to their originals
This project uses a master branch which is hosted on the www.librewary.com production server and a stable development branch which is located at beta.librewary.com. Feature branches are developed locally before being committed to the develop branch (e.g. in a merge --squash
commit). You should develop locally using the runserver
django management command.
Drop a short line to Patrick Paul http://pztrick.com.