Skip to content

A command line tool to create new Electro framework projects

License

Notifications You must be signed in to change notification settings

electro-framework/installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electro installer

A command line tool to create new Electro framework projects

Installation

Runtime requirements

  • Bash >= v3
  • Composer

Installing Composer

You need Composer both to install this tool and to be able to create Electro framework projects. So, before proceeding, you will need to make sure you have Composer installed on your machine.

Installing the tool

Open a terminal window and run the following command:

composer global require electro/installer

This will install the tool globally, so you may access it from the terminal on any directory.

Make sure you have the path to the global Composer-installed binaries configured on your $PATH environment variable, otherwise you'll not be able to run the electro command after installation.

You may set the $PATH on several places, such as the ~/.profile or ~/.bash_profile files. You should have a line similar to this one:

PATH="~/.composer/vendor/bin:$PATH"

Usage

On the parent folder, where the new project folder will be created, issue the electro create project-name command on your terminal.

For example, this will install a working Electro prototype project into the your-project-name folder:

electro create your-project-name --unstable

There are some additional command-line options that you may specify. You can find out more about them by typing:

electro

It will display inline documentation for the tool.

Update

At some point in the future, you may need to update this tool to a newer version, to take advantage of bug fixes or new features, or to remain compatible with a newer version of Electro.

You can use the tool itself to check for updates and, if any is available, automatically update itself.

Just type:

electro self-update

License

The Electro framework is open-source software licensed under the MIT license. See the LICENSE file.

Electro framework - Copyright © Cláudio Silva and Impactwave, Lda.

About

A command line tool to create new Electro framework projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages