diff options
author | Robin Appelman <robin@icewind.nl> | 2020-10-01 17:29:37 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2020-10-01 19:53:33 +0200 |
commit | d20d14cb42b53ea5322447da28618ec2d796ebc5 (patch) | |
tree | 3d43f257016378aeb92e24c10932d3d93f5de825 /cypress/initserver.sh | |
parent | f77cf749c0ba5094c88e207b7b660ece8dd44cbe (diff) |
add cypress testing
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'cypress/initserver.sh')
-rwxr-xr-x | cypress/initserver.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cypress/initserver.sh b/cypress/initserver.sh new file mode 100755 index 00000000..4d997b58 --- /dev/null +++ b/cypress/initserver.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +echo "APP_NAME: $APP_NAME" +chown -R www-data:www-data /var/www/html/data + +su www-data -c " + php occ config:system:set force_language --value en + php occ app:enable $APP_NAME + php occ app:list +" |