Sign inSign up

duythien/phalcontool

By duythien

•Updated over 9 years ago

Phalcon Devtools

Image
0

352

duythien/phalcontool repository overview

⁠Phalcon Devtools

Command line devtools

This image is updated via pull requests to the phalconphp/dockerfiles GitHub repo⁠.

⁠How to use this image

You can run the default phalcon command simply:

$ docker run -it --rm gsviec/phalcontool help

And you can create alias in order to implement convenient runner.

Make it alias:

##Add a alias to bash 
alias phalcon='docker run -ti --rm  -v $(pwd):/app gsviec/phalcontool'

To this image see a connect database via network with name container mysql_phalcon

alias phalcon='docker run -ti --rm --link mysql_phalcon:mysql --net phalconcanban_default -v $(pwd):/app gsviec/phalcontool'
$ phalcon
Phalcon DevTools (3.1.2)

Available commands:
  info             (alias of: i)
  commands         (alias of: list, enumerate)
  controller       (alias of: create-controller)
  module           (alias of: create-module)
  model            (alias of: create-model)
  all-models       (alias of: create-all-models)
  project          (alias of: create-project)
  scaffold         (alias of: create-scaffold)
  migration        (alias of: create-migration)
  webtools         (alias of: create-webtools)

Tag summary

Content type

Image

Digest

Size

288.5 MB

Last updated

over 9 years ago

docker pull duythien/phalcontool