Carson Gibbons
April 19, 2018
Note: This article has been archived as it may contain features or techniques not supported with the latest version of Cosmic.
In Deploying your Codebase using Cosmic, I write about how easy it is to deploy Cosmic Apps with just a GitHub repo and the Cosmic system. Cosmic allows developers to deploy their codebases to the Cosmic App Server for staging, testing and demo purposes, and is now offering new production deployment options available with some of your favorite deployment services.
You can now deploy Cosmic-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.
Cosmic 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, 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 Bucket. You will need an account with the service you use to deploy your Cosmic App.
Browse Apps to Deploy to Zeit, Heroku or Netlify
How to Deploy Your Codebase using Cosmic
Developer Documentation
I hope that you've found this tutorial helpful. If you have questions or comments about Content Editor Features in the Cosmic system, I'd love to hear about them. You can refer to my Cosmic Profile for additional content on how to intuitively navigate the Cosmic Dashboard.