-
Notifications
You must be signed in to change notification settings - Fork 3
Command Guide
Note that with Cakefiles, commands can be chained. For example, you may find it useful to have an integrated dev routine out of the box, with cake bake make run or cake bake make push.
Invokes the cakefile in the current directory. AET comes with a main cakefile, meant for deploying and configuring the skeleton for new projects.
Copies the skeleton for a runtime to a target directory. This contains all of the starting files. Bootstrap and buildout are then run for you, which generate a buildout executable and download starting dependent libraries (see docs for cake bake)
Options
-
-r+--runtimeRuntime skeleton to use. Accepted values arepy25orpy27. -
-o+--outputTarget directory for deploying your new project. Defaults to~/Workspace/bsdproject -
-s+--servicesDeploy with the services middleware (ProtoRPC integration) -
-coffee+--coffeescriptDeploy with CoffeeScript integration. -
-sass+--compassDeploy with Compass SASS integration.
Same thing as newproject, but for initiating a skeleton if it hasn't been automatically done via newproject.
Options
-
-b+--bootstrapRun bootstrap.py. -
-m+--buildoutRun buildout. -
-p+--pythonPath to the Python interpreter you want to build/bootstrap with.
Runs buildout, which installs dependent Python libraries into lib/dist. Currently, the base libraries it installs are webapp2, jinja2, slimmer, ProtoRPC, Babel, GaePyTZ, WTForms, and AppTrace.
Executes any AET build utilities that are enabled (CoffeeScript/UglifyJS/Compass). This updates static assets, and writes an updated assets config file (if configured).
Options
-
-w+--watchWatch resources after compilation and recompile automatically when changes are detected (where supported). -
-js+-coffee+--coffeescriptApply this command to CoffeeScript. -
-css+-sass+--compassPath to the Python interpreter you want to build/bootstrap with.
Runs the project on the local dev server. Output from the dev server is colorized (colors match the production AppEngine control panel). Options specify whether to also watch for changes in SASS or CoffeeScript, which are included inline with dev server logs.
Options
-
-w+--watchWatch assets and recompile when source files change. (automatically applies to installed JS/CSS utils) -
-c+--clearClear datastore, blobstore, and all PYC/PYO files. -
-p+--portPort to run the application on. -
-h+--hostHost to run the application on.
Pushes the local project to AppEngine production.
Options
-
-r+--runtimeOverride runtime declaration in app.yaml. -
-v+--versionOverride app version declaration in app.yaml. -
-a+--appOverride app ID declaration in app.yaml. -
-s+--assetsCompile static assets and push to CDN (if configured). -
-p+--profileFollow a profile's settings ('development', 'staging' & 'production' - configurable in tools.cfg)