danielroehrig / diary

Simple Diary for nextcloud
GNU Affero General Public License v3.0
16 stars 4 forks source link

Diary

A (currently) very simple diary for Nextcloud

Building Locally

  1. Install PHP 8 as well as the xml and mbstring extensions e.g. with sudo apt install php php-xml php-mbstring if using Ubuntu
  2. Install Node via nvm
  3. Install dependencies and run app build with make
  4. Mount this repo in the Nextcloud docker image with docker run --rm -p 8080:80 -v ~/path/to/diary:/var/www/html/apps/diary ghcr.io/juliushaertl/nextcloud-dev-php80:latest. Make sure to update the first path to the root of this repo.
  1. In another terminal process, enable continuous builds by running npm run watch
  2. Navigate to the app in your browser at localhost:8080
  3. Login with admin / admin
  4. Go to "Apps" in main menu
  5. Scroll to "Diary" authorize enabling the untested app. The page will reload. Scroll down to "Diary" again and enable it.

The Diary app will now be available in Nextcloud and will reflect the state of the local repo.