This is a Nextcloud development container with Memories pre-installed.
After the container starts up, follow these steps:
- Disable the built-in PHP extension of VS Code. Search for
@builtin php-language-features
in the extensions tab and disable it. - You can log in to Nextcloud using the following credentials:
- Username:
admin
- Password:
admin
- Username:
Note: MariaDB is set up automatically (db=nextcloud
, user=nextcloud
, password=nextcloud
); Adminer for graphical database management is available on port 8080.
To run OCC commands in the container, use the following command:
sudo -E -u www-data php /var/www/html/occ <command>
To watch changes in UI build:
make watch-js
Note: Nextcloud automatically caches app assets (including javascript) based on the version number, so you'll have to force-reload your browser window. Alternatively, to ensure caches are invalidated, you can:
- Change the version number in
appinfo/info.xml
- Build the app using
make watch-js
(ormake build-js
/make build-js-production
for a static build) - Inform nextcloud of the upgrade via
sudo -E -u www-data php /var/www/html/occ upgrade