Just commited a Fabric file that should help users not very familiar with 
Ubuntu, Python or Django install Mayan EDMS.  At the moment the fabfile 
will install Mayan EDMS in the same configuration listed in the 
documentation, that is:  Ubuntu + virtualenv + Apache + MySQL.  Feel free 
to submit your configuration settings and files for different databases, 
webserver or Linux distribution.  More configurations will be added to the 
fabfile as more are tested.

To bootstrap Mayan EDMS via the fabfile without having to clone the 
repository run the following command, replacing the part that reads: <Your 
MySQL root password> with your current MySQL root password or the MySQL 
root password you plan to assign during the MySQL installation when 
executing the fabfile.

*cd /tmp && sudo apt-get install -y fabric wget tar gzip && wget 
https://raw.github.com/rosarior/mayan/hotfix/v0.12.1/contrib/fabfile.tar.gz 
-O - | tar -xvzf - && echo "database_manager_admin_password=<Your MySQL 
root password>" > ~/.fabricrc && fab install -H localhost *
*
*
Finally point you browser to 127.0.0.1. 

To uninstall Mayan EDMS run the following command:

*cd /tmp && fab -H localhost uninstall*


If you have an existing installation of Mayan EDMS you can change 
the behavior of the fabfile by setting the following options in the 
~/.fabricrc file:
*
*
*install_path **(defaults to '/usr/share')**
*
*virtualenv_name **(directory under the `install_path`, defaults to 'mayan')
**
*
*repository_name **(directory **under the `**virtualenv**` where the git 
repository will be cloned, **defaults to 'mayan')*
*database_username (defaults to 'mayan')
*
*database_password (if left blank will be autogenerated)
*
*database_host **(defaults to '127.0.0.1')**
*
*database_name **(defaults to 'mayan')*

Reply via email to