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. 

You may also like

In this tutorial I'm going to demonstrate how to build a photography portfolio website using React, Styled-Components and Cosmic. Let's get started.
Digital Ocean, a hosting provider beloved by developers, provides a highly intuitive interface for deploying and managing application infrastructure. In this tutorial I'm going to show you how to install and deploy a Cosmic-powered Nuxt.js app on Digital Ocean.
Todo List app built using Svelte that utilizes the power of Cosmic.
In addition to Import / Export Features and Revision History, Cosmic has added Automatic Bucket Backups to deliver even more peace of mind to you and your content editing team. To add daily Backups to your Buckets go to Your Bucket Dashboard > Settings > Backups.
Cosmic lets you build one-to-one as well as one-to-many Object Relationships within your Bucket Dashboard. To help you and your team manage content more seamlessly, you can now see your Connected Objects located on the Object’s Edit page in the Dashboard.
Filtering data is one of the most common feature of any data facing application, wheather it's a fron-end app or a back-end application. The Filter function is used to find records in a table or a dataset that meets certain criteria.

Get Started with Cosmic

Build personal projects for free. Add your team at unbeatable prices.
Start Building Talk to Sales