Skip to content

penlooktmp/console

Repository files navigation

Penlook Console

Build status

Build Status Software License Author

Installation

$ curl https://raw.githubusercontent.com/penlook/console/master/all.sh?$(date +%s) | sh

Synopsis

$ penlook <subcommand> <parameter>

Sub Command

  • auth : Server authentication by ssh key (implemented)
  • path : Penlook root directory (implemented)
  • clone : Initialize project (implemented)
  • update : Pull all repositories (not yet implemented)
  • build : Build all submodules (implemeting)
  • test : Run unit and integration tests (implemented)
  • deploy : Deploy directly to development server (not yet implemented)
  • backup : Create backup for source code and database (not yet implemented)
  • server : Server instances management (implementing)
  • storage : Storage management (not yet implemented)
  • config : Build configuration file (implemented)
  • setup : Setup development environment (implemented for development)
  • clean : Cleanup project (not yet implemented)
  • help : Help command (implemented)
  • version : Current version of Penlook (implemented)

Instruction for developers

  • Install penlook console
$ curl https://raw.githubusercontent.com/penlook/console/master/all.sh?$(date +%s) | sh
  • SSH Authentication with Github
$ penlook auth yourname@penlook.com
  • Test authentication successful or failure
$ penlook auth test
  • Setup development environment
$ penlook setup development
  • Notice: If you are using koding vps, your vps information will have these SSH informations:
IP Address: yourname.koding.io
Username  : yourname
Password  : root
  • Clone one repository from Github
$ penlook clone service
  • Test a repository (implementing)
$ penlook test service
  • Build a repository (implementing)
$ penlook build service

Documentation

  • Create ssh key authentication
$ penlook auth @email
  • View current public key
$ penlook auth key
  • Clear ssh key of current user
$ penlook auth clear
  • Test authentication with server
$ penlook auth test
  • Clone project from github
$ penlook clone
  • Upate project source code
$ penlook update
  • Config project
$ penlook config
  • Deloy project to instance network
$ penlook deploy
  • Deploy project to development server
$ penlook deploy master
  • Deploy project to worker server
$ penlook deploy worker
  • List all instance in network
$ penlook server list
  • SSH into instance
$ penlook server ssh < instance_id >
  • Setup fresh installation for development server
$ penlook setup development
  • Setup fresh installation for production server (implementing)
$ penlook setup production
  • Setup fresh installation for database server (implementing)
$ penlook setup database
  • Run unit and integration test for all sub-project
$ penlook test
  • Run test per repository
$ penlook test <repository name>
  • Help command
$ penlook help
  • Penlook Cli version
$ penlook version

About

Penlook Console

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •