Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 40 | All time: 10,888 This week: 455 |
Version | License | PHP version | Categories | |||
airship-barge 1.0 | MIT/X Consortium ... | 5 | PHP 5, Content management |
<?php
|
A command line interface for developing and distributing Airship cabins, gadgets, and motifs.
First, checkout our Git repository.
git checkout https://github.com/paragonie/airship-barge.git
Next, make sure you can execute the barge command.
cd airship-barge
chmod u+x barge
Make sure you install the dependencies via Composer. This will get Halite and our constant-time encoding library installed (both are libraries that barge uses extensively):
composer update
Finally, you'll want to create a symlink in /usr/bin
so you can run barge commands
by simply typing barge commandgoeshere
:
ln -s ./barge /usr/bin/barge
Recommended: Create a workspace directory.
cd ~
mkdir barge-workspace
cd barge-workspace
If you don't already have a Supplier account, register one here.
Now you're ready to run your first barge command.
barge login
If this is your first time logging in, you'll need to run barge key
twice.
(Before the final version, we intend to make this process a lot smoother.)
barge key
# Follow the prompts to generate your master keypair
barge key
# Follow the prompts to generate your signing keypair, which you'll need to sign with your master key
Once your keypairs are generated, their public counterparts are uploaded to the server and synchronized to the entire network in an append-only data structure.
Once your keys are set up, you can begin to build CMS Airship extensions. What do you want to build?
After you follow the prompts, you should have a skeletal project directory waiting to be fleshed out.
Ready to deploy your first version? Okay, first:
barge build
This assembles a .phar or .zip of your extension. You can manually install these into a local Airship to test them out (recommended).
If you're ready to release it, first sign it with your signing key:
barge sign
And then release it:
barge release
If you've followed these steps, your package should be available for install in CMS Airship. If you release an update in this manner, it should be deployed and installed on all of your users' machines automatically (typically within an hour, unless they changed their configuration).
Files (21) |
File | Role | Description | ||
---|---|---|---|---|
src (5 files, 1 directory) | ||||
barge | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
README.md | Doc. | Documentation | ||
SECURITY.md | Data | Auxiliary data |
Files (21) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Commands (10 files, 1 directory) | ||||
autoload.php | Aux. | Auxiliary script | ||
barge.php | Example | Example script | ||
Command.php | Class | Class source | ||
HTTP.php | Class | Class source | ||
MetaData.php | Class | Class source |
Files (21) | / | src | / | Commands |
File | Role | Description | ||
---|---|---|---|---|
Proto (1 file) | ||||
Build.php | Class | Class source | ||
Cabin.php | Class | Class source | ||
Gadget.php | Class | Class source | ||
Help.php | Class | Class source | ||
Key.php | Class | Class source | ||
Keygen.php | Class | Class source | ||
Login.php | Class | Class source | ||
Motif.php | Class | Class source | ||
Release.php | Class | Class source | ||
Sign.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.