Skip to content

Proof of concept demonstrator for JHOVE 2020 Electron application

Notifications You must be signed in to change notification settings

opf-labs/jhove-2020-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JHOVE2020

Getting Started

JHOVE 2020 is an Electron application.

Pre-requisites

You'll need the following for developing Electron apps:

Development environment

Electron, Node and their dependencies can make for a complicated stack. To avoid contaminating a development environment it's best to use Node virtual environments. This Python utility creates discrete Node environments with their own installation directories and shared libraries. While NodeEnv can be installed globally using Python's pip package manager it can also be installed in a Python virtual environment. This means running a Node virtual environment within a Python virtual environment but avoids unnecessary local installations.

You'll need:

A virtual development environment can then be set up, e.g. fi:

$ virtualenv .venv
$ source .venv/bin/activate
(.venv) $ pip install nodeenv
(.venv) $ nodeenv --version
1.3.4

NodeEnv

To get a list of available node.js versions:

(.venv) $ nodeenv --list

To install and activate a node.js 12.14.1-LTS environment:

(.venv) $ npmnodeenv --node=12.4.1 .node-12.4
(.venv) $ source .node-12.4/bin/activate
(.node-12.4) (.venv) $ node --version
v12.14.1
(.node-12.4) (.venv) $ npm --version
6.13.4

Installing node dependencies

From the project root directory type npm install.

About

Proof of concept demonstrator for JHOVE 2020 Electron application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published