Write cross-platform Perl 6 desktop Electron applications using JavaScript, HTML and CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
lib Import LWP::Simple so that calls on &Simple succeed. Jan 19, 2017
logotype
resources/main_app
t
tools
.gitignore
.travis.yml Switch to zef. Rename to META6.json. Version is now 0.0.1. Fix broken… Jan 22, 2017
Build.pm Switch to zef. Rename to META6.json. Version is now 0.0.1. Fix broken… Jan 22, 2017
LICENSE
META6.json
README.md
appveyor.yml Switch to zef. Rename to META6.json. Version is now 0.0.1. Fix broken… Jan 22, 2017

README.md

Electron Build Status Build status

The goal is to write cross-platform Perl 6 desktop applications using JavaScript, HTML and CSS on top of the Electron platform. It is based on io.js and Chromium and is used in the Atom editor.

Installation

To install it using zef (a module management tool bundled with Rakudo Star):

$ zef install Electron

Dependencies

Please follow the instructions below based on your platform:

Linux

  • Install nodejs using apt
$ sudo apt-get install nodejs
  • Install pre-built electron for your platform using the following command line:
$ sudo npm install electron -g

After a successful installation, electron should be installed in /usr/local/bin/electron.

Windows

If that fails, please download the correct electron platform from https://github.com/atom/electron/releases. and make sure that electron can be called from the command line.

  • Install the installer from https://nodejs.org/
  • Install pre-built electron for your platform using the following command line:
$ npm install electron -g

After a success installation, electron should be installed in %USERPROFILE%\AppData\Roaming\npm\electron.cmd

Testing

To run tests:

$ prove -v -e "perl6 -Ilib"

Author

Ahmad M. Zawawi, azawawi on #perl6, https://github.com/azawawi/

License

MIT License