Metadata workflow utility
CSS TypeScript JavaScript HTML
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
e2e
src
.angular-cli.json
.editorconfig
.gitignore
.travis.yml
LICENSE.txt
README.md
_config.yml
karma.conf.js
main.ts
menu.ts
package.js
package.json
postcss.config.js
protractor.conf.js
tsconfig.json
tslint.json
webpack.config.js

README.md

Brays

Build Status

Metadata editor utility built on Electron.

Optional

ImageMagick

In order the view tiff files in the viewer, you must have ImageMagick installed.

Download ImageMagick for Windows and ensure you have "Install legacy utilities" checked during install.

MacOS via Homebrew:

brew install imagemagick

Linux (Debian):

apt-get install imagemagick

To Use

Clone and run this repository. You will need Node.js installed. From the command line:

git clone https://github.com/uhlibraries-digital/brays
# Go to the repository
cd brays
# Install dependencies and run the app
npm install && npm start

Packaging

You can package Brays by running the following commands based on your target system:

  • npm run package:mac will package for MacOS X x64
  • npm run package:win will package for Windows x64
  • npm run package:linux will package for Linux x64
  • npm run package will package all the above

All packages are stored in the app-builds directory that gets created during the build process.

To learn more about distributing, please read the Application Distribution documentation from Electron.

Development

Brays is built with Angular 4 using Typescript. The main application starts in main.ts.

To build the application you can run one of these commands:

  • npm run build will build the application
  • npm start will build the application and start it

You need run a build npm run build before running npm start for the first time. You will only need to do this once.

License

MIT License