This component contains the required files for installing SCAIA back-end. Additionally, the whole installation procedure is provided here.
- A web server with PHP installed (7.1+)
- A rename rule allowing to access .php files without the extension (e.g. /api/new_job.php -> /api/new_job)
- MariaDB or MySQL, curl and cron installed and configured on the web server
- Node.js with Angular CLI
- Download the back-end and extract the files to their destination on the web server.
- Download the installer (this repository) and extract its content to the back-end's
admin
folder. - Run the back-end installer by connecting to the install endpoint from a browser (e.g. https://localhost/admin/install) and following the usual UserSpice installation steps provided on screen.
- Download the front-end package and extract it where your Node.js environment is set up.
- Build the front-end by running
ng build
. - Copy the built site next to the back-end.
- Set up the back-end's job updater (/admin/users/cron/update_jobs.php) as a cron job with curl.
* * * * * /usr/bin/curl --silent https://localhost/admin/users/cron/update_jobs.php >/dev/null 2>&1
SCAIA is licensed under the MIT license.
MIT License
Copyright (c) 2021 University of Pécs
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.