After starting I get:
Traceback (most recent call last):
File "/usr/local/sbin/margarita/margarita.py", line 17, in
from reposadolib import reposadocommon
if I commend out "reposadolib" from line 17 in the file margarita.py than it starts but is not working proper. What do I mis?
I have a clean install with the following steps:
!/bin/bash
INSTALLLOG=/var/log/reposado.log DATE=$(date +"%m-%d-%y %T")
prereq checks
if ! [ $(id -u) = 0 ]; then printf "This script must be run as root!\n" exit 1 fi
repo
yum install epel-release -y && yum install git -y && yum install python-pip -y
installing the needed libraries
easy_install flask && easy_install simplejson
Go to the root of your drive and clone the sources of Margarita to your server
cd / mkdir margarita git clone git://github.com/jessepeterson/margarita.git
Move the margarita directory to /usr/local/sbin/
mv margarita/ /usr/local/sbin/
Margarita needs to know where are stored the Reposado files
cd /usr/local/sbin/margarita ln -s /usr/local/sbin/reposado/code/reposadolib/ . ln -s /usr/local/sbin/reposado/code/preferences.plist .
Firewall rule
iptables -I INPUT -p tcp --dport 8089 -j ACCEPT iptables-save > /etc/sysconfig/iptables
Start server
/usr/bin/python /usr/local/sbin/margarita/margarita.py
After starting I get: Traceback (most recent call last): File "/usr/local/sbin/margarita/margarita.py", line 17, in
from reposadolib import reposadocommon
if I commend out "reposadolib" from line 17 in the file margarita.py than it starts but is not working proper. What do I mis?