xjchen / alauda
alauda php deploy tool
dev-master
2015-05-27 15:33 UTC
Requires
- php: >=5.4.0
- ext-curl: *
- symfony/console: 2.6.*
- symfony/yaml: 2.6.*
This package is not auto-updated.
Last update: 2024-10-26 18:11:55 UTC
README
Introduction
This is a package for managing alauda services in command-line.
Requirement
- PHP >= 5.4.0
- ext-curl
Install
As a Phar
curl -O http://7xjbct.com2.z0.glb.qiniucdn.com/v1.0/alauda.phar
chmod +x alauda.phar
mv alauda.phar /usr/local/bin/alauda
As a Global Composer Install
You must install composer first. Head to Install Composer for details.
composer global require xjchen/alauda:\*@dev
After above command, add compose bin to your path.
export PATH=~/.composer/vendor/bin:$PATH
Usage
Login
alauda login
Logout
alauda logout
List all commands
alauda
Show doc of some command
alauda help command
Comand list
login
Log in to alauda registry serverlogout
Log out from alauda registry serverup
Deploy a php web server in alaudaauth:profile
Get the profile of a userdb:create
Create a database if not existdb:create-user
Create a database user if not existinstance:describe
Get the details of an instanceinstance:list
List all instances belong to the applicationrepository:create
Create a new Repositoryrepository:destroy
Delete a repository, all tags will be removedrepository:list
List all repositoriesrepository:tags
List all tags of a repositoryservice:create
Create a alauda service from your docker-compose.yml fileservice:describe
Get the details of an applicationservice:destroy
Destroy an service, all instances and related resources will be removedservice:list
List all services in a namespaceservice:logs
Get service log