Here's my notes on doing an install on a fresh Ubuntu EC2 instance, using 
the GitHub cloned project: 

sudo chown ubuntu /var
cd /var
git clone https://github.com/mayan-edms/mayan-edms.git
sudo chown root /var

cd /var/mayan-edms
sudo chown -R ubuntu:www-data .

cd ~/
virtualenv venv
source ~/venv/bin/activate

python
>>> import os
>>> f = open('/var/mayan-edms/requirements/common.txt', 'r')
>>> for line in f:
>>>   os.system("pip install " + line)

pip install -e /var/mayan-edms
cd /var/mayan-edms
./manage.py collectstatic

# making mayan-edms writabe by www-data so that sqlite db can be created. 
sudo chown -R ubuntu:www-data .
sudo chmod -R g+w /var/mayan-edms/mayan/media

mayan-edms.py initialsetup
sudo service apache2 restart

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to