Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Removed reference to enableAdminInProduction per RDPP-1734

...

  1. From the project directory, execute the following command:

    Code Block
    languagebash
    appc publish

    It will take a few minutes for your application to be deployed to API Runtime Services. After the command completes, the URL to your application will be displayed in the console.

    Code Block
    languagebash
    Appcelerator Command-Line Interface, version 5.5.1
    Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.
    
    Publishing application ... this could take several minutes
    Packaging application ... 
    Deploying application ... 
    Starting application ... 
    Application deployed to https://<SUB_DOMAIN_TOKEN>.cloudapp-enterprise.appcelerator.com
    Published api/QuickStart2@1.0.0
    
    Tips:
     - Run `appc cloud logcat` to view logs.
     - Run `appc cloud loglist --build_log` to view the build log.
     - Run `appc cloud usage` for performance metrics.
  2. Let's quickly test the published application. In your browser, navigate to your published cloud application. You should see the API Builder Logo.
  3. Next, go to the project's documentation. Add the /apidoc path to the end of the URL to retrieve the application documentation and endpoints. Retrieve the curl example of the query endpoint and execute it in the terminal. The command should return the same results when you tested the project locally.
Note

You may have to edit your Admin Console configuration to access the application documentation in the /apidoc path. If you have problems accessing the application documentation, set the enableAdminInProduction setting in the /conf/default.js file to true. For additional information, refer to API Builder Console.

View analytics

To view analytics about your project, go to the Appcelerator Dashboard.

...