Codementor Events

Deploy Cosmic JS-powered Apps using Zeit, Heroku and Netlify

Published Apr 20, 2018
Deploy Cosmic JS-powered Apps using Zeit, Heroku and Netlify

In Deploying your Codebase using Cosmic JS, I write about how easy it is to deploy Cosmic JS Apps with just a GitHub repo and the Cosmic JS system. Cosmic JS allows developers to deploy their codebases to the Cosmic JS App Server for staging, testing and demo purposes, and is now offering new production deployment options available with some of your favorite deployment services.

Untitled design-8.png

You can now deploy Cosmic JS-powered applications to Heroku, Zeit and Netlify. Building progressive web apps that are zippy fast require using powerful microservice tools and the flexibility to deploy to your favorite services based on your applications’ needs. Easily deploying web apps with services like Heroku, Zeit or Netlify is aided by the development process already being streamlined with your favorite tools.

Screen Shot 2018-04-19 at 10.21.03 PM.png

Cosmic JS uses Dokku (Docker + Heroku-like deployment) to deploy your app from any GitHub, BitBucket or any other public repo to its own subdomain. Deployment will be successful as long as your application follows the Heroku deployment guidelines. If you have connected your GitHub account to Cosmic JS, you will be able to deploy your private GitHub repos as well. Your deployed app will include environment variables which are used to connect to your Cosmic JS Bucket. You will need an account with the service you use to deploy your Cosmic JS App.

e28b07a0-4443-11e8-b4ba-c9828ea342a7-ezgif-2-610812a7b2.gif

I hope that you’ve found this tutorial helpful. If you have questions or comments about Features in the Cosmic JS system, I’d love to hear about them. You can refer to my Cosmic JS Profile for additional content on how to intuitively navigate the Cosmic JS Dashboard.

Cosmic JS is an API-first CMS that allows blended teams of developers and editors to collaborate around a programming-language agnostic API to manage their content, data, files and applications.

Discover and read more posts from Carson Gibbons
get started
post commentsBe the first to share your opinion
Show more replies