The new Cosmic dashboard is now available in private beta šŸŽ‰
Get it now →

How to Deploy Your Codebase Using Cosmic

Community Articles
Community Articles How to Deploy Your Codebase Using Cosmic

Cosmic makes it easy to deploy your websites and applications to the web. You can deploy an app from any git repository to the Cosmic App Server from any Bucket. Cosmic uses Dokku (Docker + Heroku-like deployment) to deploy your app from any GitHub, BitBucket or any other public repo to its own subdomain. 

With Cosmic alleviating your need for an installed CMS and server, your application stack can be boiled down to the following items:

1. GitHub repo
2. Cosmic CMS API
3. Cosmic app server


How to Deploy Your Codebase Using Cosmic šŸš€

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.

1. Go to your Bucket > Bucket Settings > Deploy Web App
2. Enter the URL for the public Git repo that you are deploying
3. Deploy your codebase and manage your app's content from the Cosmic Dashboard



The following add-ons are also available with Cosmic Deployment:

1. Custom Domains: Easily point your custom domain to your Cosmic App Server instance.
2. One-click SSL: Secure your app with SSL. SSL certs are automatically renewed.

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. 

carson@cosmicjs.com 

You may also like


In this tutorial I'm going to show you how to build a component-based website using Cosmic.
Iā€™m going to demonstrate how to get started integrating your Cosmic-powered content with your favorite third-party applications using Zapier.
Thank you to everyone who joined us for our Halloween edition of our Wednesday Webinar series. In this presentation, we discussed making localization for websites less spooky using Gatsby and Cosmic.
In this Guide, Iā€™m going to show you how Imgix Extension will provide optimized images for your application. Will also talk about the benefits, and show you how to install it to your Bucket in a few clicks.
In this tutorial, I'm going to show you how to create a minimalistic but awesome single page app blog using Vue, Vuex, Vuetify, Cosmic and deploy it to Netlify.
The Cosmic team was honored to to speak at Toyota Connected for the Ember.js Dallas Meetup this week. Cosmic co-founder Tony Spiro presented "Building Modern Apps with API Services" to illustrate the growing trend of offloading core dev tasks onto best-in-class API services.

Get started with Cosmic

Personal projects are free. Scale up as you grow.
Start building Talk to sales