Line 73: |
Line 73: |
| | | |
| ==== install prerequesite for seahub ==== | | ==== install prerequesite for seahub ==== |
− | those are available for base python, but will be needed against sclo python27<syntaxhighlight lang="bash">
| + | <syntaxhighlight lang="bash"> |
− | yum install --enablerepo=epel pytz python-django-compressor python-django-post_office python-gunicorn python-flup python-chardet python-dateutil python-six | + | yum install --enablerepo=epel pytz |
| </syntaxhighlight> | | </syntaxhighlight> |
| | | |
− | will need pip install or create rpm : | + | will need pip install or create rpm : |
| * Django 1.8 | | * Django 1.8 |
| * django-statici18n | | * django-statici18n |
Line 86: |
Line 86: |
| install Django and other python related modules | | install Django and other python related modules |
| | | |
| + | <syntaxhighlight lang="bash"> |
| + | scl enable python27 "pip install https://github.com/haiwen/django-constance/archive/bde7f7c.zip" |
| + | scl enable python27 "pip install django==1.8" |
| + | scl enable python27 "pip install django-statici18n" |
| + | scl enable python27 "pip install djangorestframework" |
| + | scl enable python27 "pip install openpyxl" |
| + | scl enable python27 "pip install pytz" |
| + | scl enable python27 "pip install django-compressor django-post_office gunicorn flup" |
| + | scl enable python27 "pip install python-dateutil" |
| + | </syntaxhighlight>NB, rpm installation of python-six is too old for dateutile : <syntaxhighlight> |
| + | Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB) |
| + | 100% |████████████████████████████████| 194kB 1.2MB/s |
| + | Collecting six>=1.5 (from python-dateutil) |
| + | Downloading six-1.11.0-py2.py3-none-any.whl |
| + | Installing collected packages: six, python-dateutil |
| + | Found existing installation: six 1.3.0 |
| + | DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. |
| + | Uninstalling six-1.3.0: |
| | | |
− | startup scripts and sme related db
| + | </syntaxhighlight> |
| | | |
− | configuration | + | ==== startup scripts and sme related db ==== |
| + | |
| + | ==== configuration ==== |
| | | |
| === Installation === | | === Installation === |
Line 95: |
Line 115: |
| | | |
| latter you will be able to do this: | | latter you will be able to do this: |
− | yum --enablerepo=smecontribs install {{#var:smecontribname}} | + | yum --enablerepo=smecontribs install smeserver-seafile-server {{#var:smecontribname}} |
| | | |
| | | |