Sun GlassFish Enterprise Server v3 Scripting Framework Guide

ProcedureTo Deploy a Django Application From Command Line

To deploy a Django application from the command line using the asadmin command, do the following:

  1. Make sure JYTHON_HOME and PATH environmental variables are set.

  2. Change to the directory containing the project. For example:

    cd /tools/jython/projects

  3. Use the following command to deploy the application:

    asadmin deploy myproject/