To deploy a Django application from the command line using the asadmin command, do the following:
Make sure JYTHON_HOME and PATH environmental variables are set, as described in Installing Jython and Django.
Change to the directory containing the project. For example:
Use the following command to deploy the application:
as-install/bin/asadmin deploy myproject/