If you have been following every step of the way until now, you should have no problem with deploying your site to the Sitecore.
In this tutorial, we will learn how to deploy Sitecore JSS application to Sitecore Experience Platform.
- How to setup Sitecore JSS
- How to connect to Sitecore Instance
- How to build a functioning Sitecore JSS app
- How to deploy Sitecore JSS app to Sitecore
- How to deploy to your Sitecore JSS site to Netlify with Sitelify
Since I am doing all of my development on macOS I would like to double check that my instance is up, and I am able to open the root folder with my Sitecore instance.
jss deploy config config
Now we are ready to deploy our application
jss deploy app -c -d
If by any chance you run into a problem, please go ahead and refer to Anastasiya’s blog for troubleshooting
After a successful deployment, you should see the site load in the Experience Editor, as well as you should have your bundle located in the ‘dist’ folder.
You content tree should look similar to this
Let’s go ahead and visit our Sitecore instance
The reason we are landing on the homepage for this site, when we are visiting the main url for the sitecore, is because of the configs, see below.
<site name="sitecore-jss-blog" inherits="website" hostName="sc9.local" rootPath="/sitecore/content/sitecore-jss-blog" startItem="/home" database="master" patch:source="sitecore-jss-blog.config"/>
Now we are ready to make this site, available on the web for everyone.
In the next tutorial, we will learn, How to deploy your Sitecore JSS app to Netlify with Sitelify.
5 thoughts on “Sitecore JSS Series for Developer: How to deploy Sitecore JSS app to Sitecore (4 of 5)”