This script will install ServiceSpark to a directory.
- You will need to know your database server information
- Your database user must be able to create databases. Otherwise, you will need to create the database beforehand.
Run this command in an empty directory
git clone https://github.com/uwacwy/servicespark-installer.git .; sudo ./install.sh
git clone https://github.com/uwacwy/servicespark-installer.git .; ./install.sh
chown <your username>:<your webserver user> servicespark/app/tmp/
chmod -R 775 servicespark/app/tmp/
Replace the contents of your root web directory with the contents of servicespark
If you get file permission errors when you try to load your site, run the following commands. (you will need super powers)
sudo chown www-data:www-data servicespark/app/tmp/
sudo chmod -R 755 servicespark/app/tmp/
By default, ServiceSpark will be in Debug mode. Change ServiceSpark to production mode by changing the app/Config/core.php file.