https://github.com/azawawi/perl6-electron
Write cross-platform Perl 6 desktop Electron applications using JavaScript, HTML and CSS
https://github.com/azawawi/perl6-electron
electron html javascript perl6
Last synced: 11 months ago
JSON representation
Write cross-platform Perl 6 desktop Electron applications using JavaScript, HTML and CSS
- Host: GitHub
- URL: https://github.com/azawawi/perl6-electron
- Owner: azawawi
- License: mit
- Created: 2015-07-24T17:04:07.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-29T08:27:18.000Z (about 9 years ago)
- Last Synced: 2025-06-30T15:51:54.231Z (12 months ago)
- Topics: electron, html, javascript, perl6
- Language: Perl6
- Homepage:
- Size: 132 KB
- Stars: 23
- Watchers: 6
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electron [](https://travis-ci.org/azawawi/perl6-electron) [](https://ci.appveyor.com/project/azawawi/perl6-electron/branch/master)
The goal is to write cross-platform Perl 6 desktop applications using
JavaScript, HTML and CSS on top of the [Electron](https://github.com/atom/electron) platform. It is based on [io.js](http://iojs.org) and [Chromium](http://www.chromium.org) and is used in
the [Atom editor](https://github.com/atom/atom).
## 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