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}}}). |
| 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 | |