paperwork-app

paperwork-app

Name Last Update
screenshots Loading commit data...
test Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
CHANGELOG Loading commit data...
CloudronManifest.json Loading commit data...
DESCRIPTION.md Loading commit data...
Dockerfile Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
apache2-paperwork.conf Loading commit data...
auth.php.template Loading commit data...
database.php.template Loading commit data...
ldap.php.template Loading commit data...
logo.png Loading commit data...
paperwork.json.template Loading commit data...
start.sh Loading commit data...

Paperwork Cloudron App

This repository contains the Cloudron app package source for Paperwork.

Installation

Install

or using the Cloudron command line tooling

cloudron install --appstore-id rocks.paperwork.cloudronapp

Building

The app package can be built using the Cloudron command line tooling.

cd paperwork-app
cloudron build
cloudron install

Debugging

Paperwork uses the laravel framework. Errors are reported with a 500 response and a trace ui in the browser. General logging happens to frontend/app/storage/logs/laravel.log

Use this in the php: use \Log; Log::info("blah");

Testing

The e2e tests are located in the test/ folder and require nodejs. They are creating a fresh build, install the app on your Cloudron, perform tests, backup, restore and test if the notes are still ok.

cd gogs-app/test

npm install
USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js