paint-brush
Deploy a Simple Vue Blog using Cosmic JSby@carsoncgibbons
679 reads
679 reads

Deploy a Simple Vue Blog using Cosmic JS

by Carson GibbonsJanuary 9th, 2018
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

In this blog I will demonstrate deploying a <a href="https://cosmicjs.com/apps/simple-vue-blog" target="_blank">Simple Vue Blog</a> in 3 steps. This simple blog app is built using Vue &amp; Vuex. It connects to the <a href="https://cosmicjs.com/" target="_blank">Cosmic JS CMS</a> via API. You can manage your content from your Cosmic JS Dashboard. The Simple Vue Blog includes commenting powered by <a href="https://disqus.com" target="_blank">Disqus</a>. Install and manage your <a href="https://cosmicjs.com/apps/simple-vue-blog" target="_blank">Simple Vue Blog</a> and all of its content from your Cosmic JS Bucket Dashboard. Simple. 😎 You can refer to the <a href="https://cosmicjs.com/articles/how-to-build-a-simple-blog-using-vue-cosmic-js-and-deploy-to-netlify" target="_blank">original tutorial</a> below to build the app from scratch, or continue reading to simply deploy the Simple Vue Blog in 3 Steps.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Deploy a Simple Vue Blog using Cosmic JS
Carson Gibbons HackerNoon profile picture

In this blog I will demonstrate deploying a Simple Vue Blog in 3 steps. This simple blog app is built using Vue & Vuex. It connects to the Cosmic JS CMS via API. You can manage your content from your Cosmic JS Dashboard. The Simple Vue Blog includes commenting powered by Disqus. Install and manage your Simple Vue Blog and all of its content from your Cosmic JS Bucket Dashboard. Simple. 😎 You can refer to the original tutorial below to build the app from scratch, or continue reading to simply deploy the Simple Vue Blog in 3 Steps.

TL;DR




Simple Vue BlogSimple Vue Blog DemoSimple Vue Blog CodebaseHow to Build a Simple Blog Using Vue, Cosmic JS and Deploy to Netlify

We’ll be using Cosmic JS to install our example app, deploy and make content updates moving forward. Cosmic JS is an API-first Content Management Platform that allows developers to build apps in any programming language while giving content editors a familiar content editor to manage dynamic content from the cloud. If you haven’t already, get started by Signing Up for Cosmic JS.

1. Create a New Bucket

Your bucket’s name is the name of your website, project, client or web application that you are building.

2. Install the Simple Vue Blog

Cosmic JS gives you the ability to filter between programming languages such as Node.js, Vue.js, React, AngularJS and more.

3. Deploy to Web

Navigate to “Deploy Web App” located underneath Settings in your left hand navigation bar in your Bucket Dashboard. I clicked “Deploy to Web”. I can then edit Objects while my web application is deploying. You will receive an email confirming the deployment of your web application. If you encounter any issues during deployment, you may be routed to the Cosmic JS Troubleshooting Page.

Confirm Deploy Location and Branch

https://github.com/cosmicjs/vue-blog-cosmicjs

I’m using the content-ready app from Jazib Sawar in the Cosmic JS Community, so I’ll use his Master Repo:


cosmicjs/vue-blog-cosmicjs_vue-blog-cosmicjs - A simple blog app built using Vue & Vuex. It connects to the Cosmic JS CMS via API. You can manage…_github.com

Deploy Branch Confirmation Modal

https://github.com/cosmicjs/vue-blog-cosmicjs

Now that your app is deployed to the Cosmic JS App Server, you’re free to completely manage your Simple Vue Blog and all of its content from one place.

Cosmic JS is an API-first cloud-based content management platform that makes it easy to manage applications and content. If you have questions about the Cosmic JS API, please reach out to the founders on Twitter or Slack.

Carson Gibbons is the Co-Founder & CMO of Cosmic JS, an API-first Cloud-based Content Management Platform that decouples content from code, allowing devs to build slick apps and websites in any programming language they want.