Skip to content

Latest commit

 

History

History
68 lines (40 loc) · 1.83 KB

README.md

File metadata and controls

68 lines (40 loc) · 1.83 KB

Pryv for the web a.k.a. ‘the browser’

The Pryv web app, featuring the dashboard view.

Pryv Browser screenshot

State

The development of this project has been suspended, we keep it for proof of concepts.

Usage

Normaly exposed on the internet as https://{username}.{domain}

A domain and user agnostic version is published on github gh-pages. It can be accessed with:
https://pryv.github.io/app-web/?username={username}&domain={domain} 
for example:
https://pryv.github.io/app-web/?username=christine&domain=pryv.me

Contributing

Setting up the development environment

latest environement tested: node v8.11.0

scripts/setup-environment-dev.sh

Building

  • yarn build-dev for dev
  • yarn build-production for production
  • yarn build-ghpages for gh-pages

Build output goes to ./dist

Running the dev build locally

We use rec-la server https://github.com/pryv/rec-la.

  1. Start the dev web server, pointing it to your built app (in ./dist), yarn webserver
  2. Open https://{username}.rec.la:4443/?domain={domain.tld}, where {username} points to an existing staging user and {domain.tld} to the domain running pryv.

example: https://dummy.rec.la:4443/?domain=pryv.me

example: https://dummy.rec.la:4443/?domain=pryv.me&sharing={token} to open a sharing link

Publish

  1. yarn build-ghpages
  2. cd dist
  3. git pull
  4. commit changes and push them

Troubleshoot

Yarn does not respect targetting a git branch (or commit) for a dependency, so use npm. It is currently working with branch works/app-web on lib-javascript.

  1. rm -rf node_modules
  2. rm package-lock.json
  3. npm install
  4. grunt
  5. yarn webserver

License

Revised BSD license