Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files


Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files is quite as it runs only using static files – JavaScript, and few images files. CodeMirror is Open Source but actually not a ready made solution, you need to code a bit for advanced usages. But unlike Pastebin with Syntax Highlighting is has no PHP files, so basically you can on Rackspace Cloud Files using our method.

 

Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files : Important Resources

 

For Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files, you have to understand, how we can actually run a JavaScript, CSS, image files and file based tools just on Cloud Files – fully on blob storage, without any real server. You can for example, read this guide to create a website on Rackspace Cloud Files on Bootstrap.

 

Download the Zip file from GitHub for Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files :

 

https://github.com/marijnh/CodeMirror

 

Steps for Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files

 

all the things to your Rackspace Cloud Files container, it Public (publish it) just in the way we described in the linked previous tutorial. As we mentioned, it is for using as a base but actually you can use it features easily. For that, go to :

 

codemirror\codemirror-2.35\mode

 

and you will find all the supported languages named folders. Inside them, there will be an index.html file. If you double click to open it, you will get the code Editor of that language. For example, for CSS it is :

 

codemirror/codemirror-2.35/mode/css/index.html

 

You have to add POST meta data X-Container-Meta-Web-Index for index.html from your Rackspace Cloud Files Control panel.


This is basically the Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files ! Better to say Uploading than Installing. So what you are looking for ? We wrote fuss that never works just like hundreds of other made for money making sites ?

 

Installing Online Code Editing Tool CodeMirror on Rackspace Cloud Files

 

 

Go here for Live Demo of CSS Editor , its Cloud Files. You can do the Parsing/Highlighting Tests too (Red Hyperlinks on that webpage). oh yes, you can actually use the SSL / HTTPS URL too. There are lot of themes, like for Less mode.

 

Abhishek-Ghosh


0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
About Abhishek

Abhishek Ghosh is an Orthopedic Surgeon, Inventor with 216 Patents, Current editor of The Customize Windows Media Group. You can follow and know more about Dr. +Abhishek Ghosh on Google Plus and follow on Twitter as @AbhishekCTRL.

Speak Your Mind

*