@papermerge/dual-commander

0.5.0 • Public • Published

Dual Commander

Document browser featuring dual panes.

Requirements

The core requirements for this project are NodeJs, npm (node package manager) and webpack:

Installation

Install all nodejs dependent packages:

$ npm i  # looks in package.json and installs dependencies

Playground

In playground/ folder there is a flask based application used as playground. In order to setup and run playground, use following commands:

$ cd playground
$ virtualenv .venv -p /usr/bin/python3.7
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ cd ..
$ make run

Playground flask app provides couple of extra features to simulate more realistic scenarios - like slower server responses.

To slow down all server side responses with two seconds, start playground using following command:

$ cd playground
$ python index.py --delay 2  # delays all server side responses with 2 seconds

To slow down server side responses with one second AND disable browser's assets cache (browsers try to very hard to cache static assets) use command:

$ cd playground
$ python index.py --delay 1 --no-cache

Start playground on port 5002:

$ cd playground
$ python index.py --port 5002

For all options:

$ cd playground
$ python index.py --help

Package Sidebar

Install

npm i @papermerge/dual-commander

Weekly Downloads

1

Version

0.5.0

License

Apache-2.0

Unpacked Size

9.43 MB

Total Files

63

Last publish

Collaborators

  • eugen.ciur