Leo G

Launching your Flask web application on Linux with Gunicorn and Nginx

Launching your Flask web application on Linux  with Gunicorn and NginxFlask is a web framework for python, Flask tackles Routing, HTML template rendering, Sessions etc. If you are building web applications on Linux then I highly recommend using Flask, here’s how quickly you can build an app with it on Linux. The inbuilt server with Flask is good for development, but sooner or later you... Read More »

How to install Selenium on Linux and automate your web tests

How to  install Selenium on Linux and automate your web testsSelenium is a web testing toolkit that allows you to test a web application in any browser of your choice. It does this with the help of a software called WebDriver which allows you to emulate a web browser and test your web application in it. In this post I am going to show you... Read More »

How to start building websites on Linux with Django

How to start building websites on Linux with DjangoDjango is a web framework for python. It provides you with the basic components that are required to build your website like HTML templates, User Authentication, Web Server etc. In this tutorial I will describe how you can install Django 1.7 on Linux with the latest version of Python and PostgreSQl. Software Versions Linux(CentOS 6.5)... Read More »

How to build CRUD app with Python, Flask, SQLAlchemy and MySQL

In this post I will briefly describe, how you can you build a database driven CRUD (Create, Read, Update, Delete) app on Linux with Python, Flask, SQLAlchemy and MySQL. I used this process to create a blog and hence the examples below will describe how to store and modify posts in a MySQL database. Software... Read More »

Managing Linux server configs with the SaltStack

Managing Linux server configs with the SaltStackI came across Salt while searching for an alternative to Puppet. I like puppet, but I am falling in love with Salt :). This maybe a personal opinion but I found Salt easier to configure and get started with as compared to Puppet. Another reason I like Salt is that it let’s you manage your... Read More »

Creating your first Linux App with Python 3 and Flask

Creating your first  Linux  App with  Python 3 and FlaskWhether playing on Linux or working on Linux there is a good chance you have come across a program written in python. Back in college I wish they thought us Python instead of Java, it’s fun to learn and useful in building practical applications like the yum package manager. In this tutorial I will take... Read More »

How to install an Opensource VPN Server on Linux

How to install an Opensource VPN  Server on LinuxOne of the most concerning thoughts I have while browsing, Is how can I ensure that my data remains private and secure ? In my search for answers, I came cross a number of ways in which you can remain anonymous like using a proxy website. But still using a third party service was not... Read More »

Using Foreman, an Opensource Frontend for Puppet

Using Foreman, an Opensource Frontend for PuppetThe recent vulnerability in bash, got me running to update bash. It’s easy when you have maybe one or two Linux servers, but what do you do if you have 100’s or even thousands or servers? You need to use a server configuration and management tool like puppet. However, instead of using the command line,... Read More »

Using GIT to backup your website files on linux

Using GIT to backup your website files on linuxWell not exactly Git but a software based on Git known as BUP. I generally use rsync to backup my files and that has worked fine so far. The only problem or drawback is that you cannot restore your files to a particular point in time. Hence, I started looking for an alternative and found... Read More »

How to install Ruby, Ruby on Rails and Phusion Passenger on CentOS

Lately, I have been writing apps in ruby instead of PHP, as it has a low learning curve especially if you know bash scripting and an awesome framework called Rails. Ruby on Rails was so easy to work with that I got my app up and running in 48 hours. You can check it out... Read More »