Skip to content

astaupb/copyclient_electron

Repository files navigation

copyclient_electron

Copyclient for the AStA Copyservice Paderborn.

Built using Dart, AngularDart, Node and Electron

A basic Electron+AngularDart application needs just these files/directories:

  • package.json - Points to the app's main file and lists its details and dependencies.
  • main.js - Starts the app and creates a browser window to render HTML. This is where the Angular app is loaded.
  • src/*- Contains the AngularDart app's structure with Pubspec.yaml etc. Contains the main app logic.

To Use

To clone and run this repository you'll need Git, Node.js (which comes with npm) and the AngularDart Toolchain installed on your computer. From your command line:

# Clone this repository
git clone https://git.uni-paderborn.de/ltappe/copyclient_electron_.git
# Go into the repository
cd asta-copyclient-angulardart
# Install dependencies
npm install
# Run the app
npm start

How To Install On Unsupported Distributions

  • install cups and cups-filters
  • enable and start cups daemon
  • create directory "/opt/AStA Copyclient/"
  • copy contents of this folder to "/opt/AStA Copyclient/"
  • change directory to "/opt/AStA Copyclient/fakeprinter/unix"
  • run "install_printer.sh" as root or with sudo
  • copy "asta-copyclient.desktop" to "/usr/share/applications"

License

GNU LGPL 3.0 or later