Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.19 KB

Memories Development Container

This is a Nextcloud development container with Memories pre-installed.

After the container starts up, follow these steps:

  1. Disable the built-in PHP extension of VS Code. Search for @builtin php-language-features in the extensions tab and disable it.
  2. You can log in to Nextcloud using the following credentials:
    • Username: admin
    • Password: admin

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:

  1. Change the version number in appinfo/info.xml
  2. Build the app using make watch-js (or make build-js/make build-js-production for a static build)
  3. Inform nextcloud of the upgrade via sudo -E -u www-data php /var/www/html/occ upgrade