Community Articles How to Deploy Your Codebase Using Cosmic JS

How to Deploy Your Codebase Using Cosmic JS

Cosmic JS 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 JS 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 JS 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 JS CMS API
3. Cosmic app server


How to Deploy Your Codebase Using Cosmic JS 🚀

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.

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 JS Dashboard



The following add-ons are also available with Cosmic JS 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 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. 

carson@cosmicjs.com 

Was this article helpful?

Thank you! Your input helps us improve our articles and resources. If you have any other questions or comments, please contact support.

You may also like


Metadata is extremely important for SEO as it speaks to search engines directly from each page crawled, to communicate important information or request a specific action from the search engine. Cosmic JS provides an easy modal to manage media metadata.
Add the power of Algolia search to your Bucket. This Extension enables you to sync your Cosmic JS Objects with Algolia, making your data searchable. Set up automatic syncing to automatically add / edit / remove content from Algolia. Follow the simple steps below to install and setup Algolia.
Looking to migrate from Contentful to Cosmic JS? The Contentful Importer makes it quick and easy.
Every blog needs a solid Content Management System (CMS). This allows content owners to control their content without having to hire a developer to make every single change to their site. Cosmic JS is a great choice for a CMS. In this how-to article, we’ll connect a React/Next.js app to Cosmic JS .
The Cosmic JS team was honored to to speak at Toyota Connected for the Ember.js Dallas Meetup this week. Cosmic JS 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.
The beauty of using a static site generator is that your backend can be completely separate. In this video, I switch from markdown files to Cosmic JS!

Ready to Get Started?

No payment info required.
Start Now   Contact Sales