How to configure Django in Debian with Nginx, uWSGI and Python 3

How to configure Ruby on Rails in CentOS 7 with Nginx, uWSGI and Ruby 2.3