camilasan / period

A period tracker app for Nextcloud.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Period

How can you deal with it your menstrual cycle data while making sure big tech and health insurances do not have access to it?

Track your period without worrying about data privacy.

πŸ’Ύ Installation

  • Place this app in <path to nextcloud>/apps/
  • Enable it

βš™οΈ Building the app

Requirements

πŸ“ General build instructions

  • Install PHP dependencies: composer install --no-dev
  • Install JS dependencies: npm ci
  • Build JavaScript for the frontend
    • Development build npm run dev
    • Watch for changes npm run watch
    • Production build npm run build

πŸ‹ Docker: Simple app development container

  • Fork the app
  • Clone the repository: git clone https://github.com/camilasan/period.git
  • Go into deck directory: cd period
  • Build the app as described in the general build instructions
  • Run Nextcloud development container and mount the apps source code into it:
docker run --rm \
    -p 8080:80 \
    -v ~/path/to/app:/var/www/html/apps-extra/app \
    ghcr.io/juliushaertl/nextcloud-dev-php80:latest

πŸ€“ https://juliushaertl.github.io/nextcloud-docker-dev/basics/standalone/

πŸ‘©β€πŸ’» Full Nextcloud development environment

  • You need to setup a development environment of the current Nextcloud version.
  • Alternatively you can use the nextcloud docker container.
  • After the finished installation, you can clone the deck project directly in the /[nextcloud-docker-dev-dir]/workspace/server/apps/ folder.

πŸ€“ https://juliushaertl.github.io/nextcloud-docker-dev/basics/stable-versions/

Running tests

You can use the provided Makefile to run all tests by using:

make test

This will run the PHP unit and integration tests and if a package.json is present in the js/ folder will execute npm run test

Of course, you can also install PHPUnit and use the configurations directly:

phpunit -c phpunit.xml

or:

    phpunit -c phpunit.integration.xml

for integration tests.

About

A period tracker app for Nextcloud.


Languages

Language:JavaScript 98.8%Language:PHP 1.1%Language:Vue 0.1%Language:Makefile 0.0%