Finally here i am writing my first blog post after a long time to break silence in my techie brain.
Okay, lets start with the story, i can configure Linux production server with uwsgi, nginx, vsftpd, mysql, mongodb, postfix, php, python tools, and other relevant pieces of software single-handedly and i learnt it the hard way and do the hard way for granular performance and security. And there came a pseudo friend of mine asking me why didn't i do it with fabric which is awesome as i am python expert.
So, let me walk through my experience while i try it for first time.
first install fabric with pip
sudo pip install fabric
then use your favorite editor to create file called
fabfile.pyand save it with the following content.
def hello(): print "Hello dolly"now lets run it with
$ fab hello hello dolly Done.
wow we got it, so we need to keep all the code in fabfile.py (i think this is standard name with my current knowledge) and run functions in it by calling fab
ok, now lets pass some parameters to it
def hello(name="world"): print("Hello %s" % name)
$ fab hello:name=ashwin hello ashwin Done.
this is it for now, lets put it to real use in next part.
i am followed http://docs.fabfile.org/en/1.4.0/tutorial.html in this tutorial.
part 2 Go for it...
target="_blank"Micropyramid is a software development and cloud consulting partner for enterprise businesses across the world. We work on python, Django, Salesforce, Angular, Reactjs, React Native, MySQL, PostgreSQL, Docker, Linux, Ansible, git, amazon web services. We are Amazon and salesforce consulting partner with 5 years of cloud architect experience. We develop e-commerce, retail, banking, machine learning, CMS, CRM web and mobile applications.
Django-CRM :Customer relationship management based on Django
Django-blog-it : django blog with complete customization and ready to use with one click installer Edit
Django-webpacker : A django compressor tool
Django-MFA : Multi Factor Authentication
Docker-box : Web Interface to manage full blown docker containers and images
More...