Changes between Version 13 and Version 14 of WikiStart


Ignore:
Timestamp:
Jun 14, 2022, 12:06:56 PM (2 years ago)
Author:
xbusta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v13 v14  
    55<img src="/trac/noske/raw-attachment/wiki/WikiStart/NoSkE_logo.png" alt="No Sketch Engine logo" title="No Sketch Engine logo" align="right">
    66<style type="text/css">
    7 p,h2,a,pre.wiki,td {
     7p,h2,a,pre.wiki,td,ul {
    88font-size: medium;
    99}
     
    4343== third party dependencies ==
    4444
    45 You may install [https://github.com/seveas/python-prctl python-prctl] and Bonito will use it to setup nice process titles for background jobs (that you will see in the output of the {{{ps}}} command and similar).
    46 
    47 Bonito RPM package requires python3-prctl, you can ignore the dependency ({{{rpm -ivh ./bonito-open-*.el7.noarch.rpm --nodeps}}}) or you can build python3-prctl RPM package from python-prctl sources ({{{git clone https://github.com/seveas/python-prctl.git ; cd python-prctl/ ; sed -i  's|name = "python-prctl"|name = "python3-prctl"|' setup.py ; ./setup.py bdist_rpm}}}).
     45 - You may install [https://github.com/seveas/python-prctl python-prctl] and Bonito will use it to setup nice process titles for background jobs (that you will see in the output of the {{{ps}}} command and similar).\\\\Bonito RPM package requires python3-prctl, you can ignore the dependency ({{{rpm -ivh ./bonito-open-*.el7.noarch.rpm --nodeps}}}) or you can build python3-prctl RPM package from python-prctl sources ({{{git clone https://github.com/seveas/python-prctl.git ; cd python-prctl/ ; sed -i  's|name = "python-prctl"|name = "python3-prctl"|' setup.py ; ./setup.py bdist_rpm}}}).
     46
     47 - You may install [https://foss.heptapod.net/openpyxl/openpyxl openpyxl] and Bonito will use it to export into Office Open XML format (xlsx).\\\\Bonito RPM package requires python3-openpyxl, you can ignore the dependency ({{{rpm -ivh ./bonito-open-*.el7.noarch.rpm --nodeps}}}) or you can build python3-openpyxl RPM package from openpyxl sources ({{{hg clone https://foss.heptapod.net/openpyxl/openpyxl/ ;  cd openpyxl ; sed -i "s|name='openpyxl'|name='python3-openpyxl'|" setup.py ;  sed -i "1c#\!/usr/bin/python3" setup.py ; ./setup.py bdist_rpm}}}).
    4848
    4949= Downloads =
     
    163163}}}
    164164
     165== Apache (httpd) configuration with authentication and registration ==
     166
     167{{{
     168        Alias /crystal-registration /var/www/crystal
     169
     170        Alias /bonito-registration /var/www/bonito
     171
     172        <Directory /var/www/bonito>
     173                AllowOverride All
     174                Options +ExecCGI -Indexes
     175                AddHandler cgi-script .cgi
     176                <LimitExcept OPTIONS>
     177                       <Location "/bonito-auth">
     178                                AuthType Basic
     179                                AuthName "Secure Content"
     180                                AuthUserFile /var/lib/bonito/htpasswd
     181                                <RequireAny>
     182                                        <RequireAll>
     183                                                Require expr %{REQUEST_URI} =~ m#^/bonito-registration/registration.cgi/register_user_new.*#
     184                                        </RequireAll>
     185                                        Require valid-user
     186                                </RequireAny>
     187                        </Location>
     188                </LimitExcept>
     189        </Directory>
     190}}}
     191
    165192== Bonito (run.cgi) configuration ==
    166193Bonito configuration file is `run.cgi` you may run multiple instances just by copying this file and changing the configuration.
     
    173200# set URL to run.cgi script of bonito
    174201URL_BONITO: "https://no.sketchengine.co.uk/bonito/run.cgi/",
    175 }}}
     202
     203# URL of endpoint for registering new users (e.g bonito/registration.cgi). Leave empty to disable registration.
     204URL_REGISTER_NEW_USER: "https://no.sketchengine.co.uk/bonito-registration/registration.cgi/register_user_new",
     205
     206}}}
     207
    176208
    177209= Credits =
     
    230262 * https://no.sketchengine.co.uk/crystal-auth
    231263
     264
     265!NoSketch Engine with enabled authentication and registration:
     266 * https://no.sketchengine.co.uk/crystal-registration
     267
     268
    232269= (No)Sketch Engine installations over the world =
    233270{{{