technical-blogs

Migration from Ghost 0.11 to 1.XX Using Docker

Ghost had formulated lots changes when they released version 1.XX. So, when you try to upgrade from 0.11 to 1.XX, you can follow the following steps: FYI, you can also use the following steps if you want run Ghost in Docker and import your existing settings. Just Skip Step 1, 2, 7, 8. Run your Ghost server and go to adminsite by localhost:2368/admin or localhost:2368/ghost (assuming its running in 2368 port). Now go to Labs>Export Your Content. Click there and export…

Keep reading

Categories: GHOST, Docker, technical-blogs

Deploy Django to Openshift 3 Powered by MySQL and Gunicorn

If you want to use Openshift for deploying Django, you can follow this post and simply do that. You don't need to learn Kubernetes. We will use docker file only. No other fancy stuff. Also, before starting, I am also hoping you are little bit familiar with Openshift 3 and oc tools. Download oc clients from here So let's get started: Contents of this Post In the blog, we are going to discuss about how we can deploy production grade django server, using mysql as Database. We are also going…

Keep reading

Categories: Django, Openshift, MySQL, Gunicorn, Docker, technical-blogs

Boilerplate For Angular 1.X and Django(Powered by Webpack2, Docker, Yarn, DRF)

Simple and clean boilerplate for using django and angular 1.x togather, with basic structure comes built-in. Tech Stack Python3 Django 1.11.6, Django Rest Framework Webpack 2 JavaScript(ES6)/AngularJS 1.x Yarn Prerequisite Require Yarn. How to install Yarn: https://yarnpkg.com/lang/en/docs/install/ Require Docker if you want to use this boiler plate with docker. How to install Docker: https://docs.docker.com/engine/installation/ ** If you don't want docker, you can still use this boilerplate. Look here for details Setup Frontend Run make…

Keep reading

Categories: Django, AngularJs, BoilerPlate, technical-blogs

Using VS Code for Python/Django Development

VS Code is an editor developed by Microsoft. I have been using this editor for Python development for a few months now. Previously I have been using Pycharm Community Edition for development, but I had to switch to an editor which was less resource consuming than Pycharm, hence I found VS Code. It was initially suggested to my by one of my colleagues. My first impression was, what is this? Is it really usable? Is it as bad as Atom?(I have a dreadful experience with Atom, although Atom is…

Keep reading

Categories: Python, Django, VSCode, Virtual-Environment, IDE, technical-blogs

Ubuntu Hacks: Launching Chrome Apps at Startup

Chrome apps are really handy when you don't want to overhaul your system with apps for every little purpose. Starting those apps at startup can be used instead of manually starting them everytime you want to use them. Like starting the messenger at startup of the system. To do that. First, go to Ubuntu's search menu and search for startup applications. Then open that application preference and add new startup application. Put any name you want in there. Also, in command section, write: google-chrome --app-id=[app_id] Now you need…

Keep reading

Categories: ubuntu, chrome-app, startup, tips, protips, technical-blogs