Line 119: |
Line 119: |
| yum remove python27-python-devel scl-utils-build | | yum remove python27-python-devel scl-utils-build |
| </syntaxhighlight> | | </syntaxhighlight> |
| + | |
| + | well I got some errors and the files in github says different from doc<syntaxhighlight lang="bash"> |
| + | scl enable python 27: test-requirements.txt and requirements.txt for 5.1 branch |
| + | |
| + | |
| + | pip install mock==1.0.1 |
| + | pip install nose==1.3.7 |
| + | pip install exam==0.10.5 |
| + | pip install splinter==0.7.2 |
| + | pip install requests==2.3.0 |
| + | pip install pytest==2.7.0 |
| + | pip install pytest-django==2.8.0 |
| + | pip install python-dateutil |
| + | pip install python-memcached==1.57 |
| + | pip install chardet |
| + | pip install six |
| + | pip install Pillow>=2.6.1,<3.0.0 |
| + | pip install Django==1.8.10 |
| + | pip install django-compressor==1.4 |
| + | pip install django-post-office==2.0.3 |
| + | pip install django-statici18n==1.1.2 |
| + | pip install djangorestframework==3.3.1 |
| + | pip install git+git://github.com/haiwen/django-constance.git@751f7f8b60651a2828e4a535a47fc05b907883da#egg=django-constance[database] |
| + | pip install openpyxl==2.3.0 |
| + | pip install pytz==2015.7 |
| + | </syntaxhighlight>I also see some memcached service is needed... seahub/avatar/sql/migration.md |
| | | |
| ==== startup scripts and sme related db ==== | | ==== startup scripts and sme related db ==== |
Line 138: |
Line 164: |
| mkdir seafile-server/ | | mkdir seafile-server/ |
| mkdir seafile-server/runtime | | mkdir seafile-server/runtime |
| + | mkdir -p /opt/seafile/seafile-data/library-template |
| cd seafile-server/ | | cd seafile-server/ |
| ln /usr/share/seafile-seahub seahub -s | | ln /usr/share/seafile-seahub seahub -s |
Line 149: |
Line 176: |
| | | |
| python seafile-server/seahub/manage.py syncdb | | python seafile-server/seahub/manage.py syncdb |
− | </syntaxhighlight>----------------------------------------------------------------- | + | </syntaxhighlight> |
| + | |
| + | issue: seafile-admin setup makes creation of seahub.db in /usr |
| + | |
| + | <nowiki>-----------------</nowiki> |
| + | |
| + | <nowiki>------------------------------------------------</nowiki> |
| | | |
| <nowiki>-----------------------------------------------------------------</nowiki> | | <nowiki>-----------------------------------------------------------------</nowiki> |