Welcome to mirror list, hosted at ThFree Co, Russian Federation.

server.sh « cypress - github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 83fcec453f1354f84a5085129e9b1a360e0d43e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
su -s /bin/bash www-data -c "
php /var/www/html/occ maintenance:install --database \
    'sqlite' --admin-user 'admin' --admin-pass 'admin'
export OC_PASS=1234561
php /var/www/html/occ user:add --password-from-env user1
php /var/www/html/occ user:add --password-from-env user2
php /var/www/html/occ app:enable viewer
php /var/www/html/occ app:enable text
php /var/www/html/occ app:list
"