Skip to content

V0.1.0-rc5.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@idevz idevz released this 13 Apr 06:35
· 134 commits to master since this release

New Features

  • Multi applications deployment.
  • Multi version of framework coexistence, easier framwork upgrade.
  • Auto complete the Nginx configration.
  • A convenient way to manage Services.

1.install vanilla with its version, thus for easier updating.

$ git clone [email protected]:idevz/vanilla.git
$ cd vanilla
$ ./setup-framework -v $VANILLA_PROJ_ROOT -o $OPENRESTY_ROOT        #see ./setup-framework -h for more details

after installation you can got two commands vanilla- and v-console which with a version number.

2.Vanilla apps use thire own vhost conf both in development and production environment. You shoud give a full path(-a $VANILLA_APP_ROOT) to setup a Vanilla app.

$ ./setup-vanilal-demoapp  [-a $VANILLA_APP_ROOT -u $VANILLA_APP_USER -g $VANILLA_APP_GROUP -e $VANILLA_RUNNING_ENV]    #see ./setup-vanilal-demoapp -h for more details

3.You can use va-{{vanilla app name}}-service script to manage each service.

$ ./$VANILLA_APP_ROOT/va-appname-service start