Subscribe to Our Newsletter

x

roar-push-prod

Be careful with this command. After running it, new changes are immediately live!

In the background it syncs the files from your rebelmouse folder to a copy of our repo, then we run git pull and we check for merge errors, if everything is ok, we commit new changes to our master branch and finally we push to prod.

You can run this command only on master branch.


Be careful. If there are any changes on master branch then roar-push-prod will start its process immediately. Expecting you are working in a feature branch these commands below are recommended to run to push a branch live.

git checkout mastergit pull --rebaseroar-fetchgit statusgit commit -am "updates from RM repo"git push origin mastergit merge --no-ff 12345-new_branch_nameroar-reloadroar-push-prod "A meaningful message explaining new updates."

Before first push please read Daily workflow example in GIT Workflow topic where it is explained what these commands do.


Deploy can be locked by other (yours or RebelMouse) developers at any time. You can't deploy in the meantime when someone else does. You will receive an email when deploy will be free again.

Deploy can take up to 20 min to be finished.

In the process of deploying your merged branch will be also pushed to BitBucket origin.


Important: In case you merged your feature branch to master already and you need to roar-fetch again because of a some reason (for example deploy was blocked and someone pushed new changes to your repo), then you need to get your feature branch off the master branch before running roar-fetch. Otherwise your changes could get lost (when changes are in the same file as you were working on). Workflow:

# you are on master and ready for deploygit merge --no-ff 12345-new_branch_nameroar-push-prod "A meaningful message explaining new updates."# deploy is blocked# you receive a mail after while that deploy is freeroar-push-prod "A meaningful message explaining new updates."# you receive a message back that there are new changes which you need to fetch# get your feature branch off the master with combination of next three commands - it will clear your branch of any changesgit checkout .git reset --hard origin/mastergit clean -fd# you are now ready for roar-fetchroar-fetch# there will be new changes which you need to commit and push to origingit commit -am "updates from RM repo"git push origin master# your master is now synced with latest code# you can start this procedure once again from the beginning

How to Include Interactive Elements in Posts

Enhance your articles with rich and creative media

Every article is a fresh chance to grab new readers and nurture loyal followers. This is why we give creators every opportunity to build content rich with media elements that enhance every reader's experience.

Add More Layers to Your Content

You can easily add interactive elements, like charts, to posts on our platform. For example, if you need to embed iframe code into a post, this can be done via our Add Media Bar. To do so, click the code icon (< >):

A text box will appear so you can insert your code:

Embedded Code Across Platforms

One important thing to keep in mind is that Google AMP, AppleNews, and Facebook Instant Articles will not always support embedded code. So if you use an iframe, it's best to turn off distribution to those channels for that particular post. If you have a lot of posts that require embedded code, this could be problematic for growth across those important platforms.

If you do want to use an iframe on a post destined for Google AMP distribution, it can be possible if the iframe is not at the top of the page or within the first 75% of the viewport when the page is scrolled to the top (whichever is smaller). AMP is a fast technology designed for mobile users and iframes are loaded using arbitrary timing that AMP's technology cannot ensure. For this reason, it's suggested that iframes be included in places that are not visible by users upon load.

If you have an article that needs to include an iframe at the top of the page, or within the first 75% of the viewport, AMP can be turned off for that individual article within Entry Editor.

If you don't need an interactive chart to be interactive in nature, can turn it into an image and upload it directly to your post. This way it will work on all platforms, including Google AMP, Apple News, and Facebook Instant Articles. This option, when possible, is ideal to ensure you're optimized for page speed.

Take Advantage of Shortcodes

Another great way to embed media is through our shortcodes functionality. Click here to learn more about shortcodes. Shortcodes can also inserted using the Add Media Bar. Click the brackets icon ([ ]) to choose the shortcode you want to use.

Here's an example of a chart on an article page that's been inserted using a shortcode:

If you have any questions about how to add interactive elements to your content, please email support@rebelmouse.com or talk to your account manager today.

Shortcodes Dashboard: Dynamic Media in Just a Few Clicks

Create multidimensional content with easy-to-find shortcodes

We believe static media is dead, and that every piece of content should be multidimensional and engaging. This is why our platform enables creators so they can add dynamic media to their content in easy and efficient ways.

One simple way to add interactive content to any post is through the use of shortcodes. Shortcodes are small snippets of code that are easier to remember than longer sequences. They typically will activate a feature or embed media into an article.

Keep reading... Show less
Subscribe to Our Newsletter