Jump to content
  • Deploy your first Node.js TIBCO Cloud? Integration app


    Deepesh Tiwari

    Node.js on TIBCO Cloud? Integration

    1. Getting started
    2. Prerequisites
    3. My first Node.js app
    4. Deploy your first Node.js app
    5. Test your Node.js app
    6. Manage your Node.js apps
    7. Adding dependencies to your app
    8. Run your app locally
    9. Understanding the generated code
    10. Advanced topics
    11. Best practices
    12. Resources

    Now that the app is complete, let?s deploy it to TIBCO Cloud? Integration. In this section we?ll upload the code through the Web UI. In the advanced section we?ll show you how to do it using the tibcli executable

    Zip it!

    To upload your app you?ll first need to create a zip file containing all the code, except for the node_modules folder. You can simply zip the folder that contains the server.js file (hello_world_nodejs_app_1501395218703 in our case). If you?re comfortable with PowerShell you can also execute this command from that folder that will create the zip excluding the node_modules directory tree.

     Get-ChildItem . | where { $_.Name -notin "node_modules"} | Compress-Archive -DestinationPath ./app.zip -Force | Out-Null

     

    Note: the other file we?ll need to upload is the manifest.json file

    Deploy

    In order to deploy, first login to TIBCO Cloud Integration and From the Apps page use the orange button to Create a new app (If you need help creating an app, check out the documentation).

    From there select the Push a Node.js App option and simply upload both the manifest.json and zip file you created.

    You?ll now see the progress of the app as it is being uploaded, built, and deployed.

    Let's test my app!


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...