electro / installer
A command line tool to create new Electro framework projects
Installs: 46
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Language:Shell
README
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 theelectro
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.