library alauda
alauda php deploy tool
xjchen/alauda
alauda php deploy tool
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
alauda-php
Introduction
This is a package for managing alauda services in command-line., (*1)
Requirement
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., (*2)
composer global require xjchen/alauda:\*@dev
After above command, add compose bin to your path., (*3)
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 server
-
logout Log out from alauda registry server
-
up Deploy a php web server in alauda
-
auth:profile Get the profile of a user
-
db:create Create a database if not exist
-
db:create-user Create a database user if not exist
-
instance:describe Get the details of an instance
-
instance:list List all instances belong to the application
-
repository:create Create a new Repository
-
repository:destroy Delete a repository, all tags will be removed
-
repository:list List all repositories
-
repository:tags List all tags of a repository
-
service:create Create a alauda service from your docker-compose.yml file
-
service:describe Get the details of an application
-
service:destroy Destroy an service, all instances and related resources will be removed
-
service:list List all services in a namespace
-
service:logs Get service log
dev-master
9999999-dev
alauda php deploy tool
Sources
Download
MIT
The Requires
php
docker
alauda