Here You can learn about how to setup and deploy a Django application to Amazon Web Services (AWS).
Amazon Elastic Beanstalk, EC2, and S3
CasperJS can be used for Navigation Scipting, Scraping and testing. In this Tutorial we will see how to scrape data from website using CasperJS and PhantomJS 1.9
Django by default to store the files in your local file system. To make your files load quickly and secure we need to go for any third party storage systems. AWS s3 is one of the storage service for the Internet. It is designed to make web-scale computing easier for developers. django has a package called django-storages which can be used to store the files in the amazon s3 and serve them from its cloudfront service.
Using Linkedin integration, we can get the user verified email id, general information, work history in a less span of time, and a user can also share articles.
These Following steps are needed for Linkedin integration:
1. creating LinkedIn app
2. Authenticating user and getting an access token.
3. Get user information, work history using access token.
Docker, has captured the hearts and minds of the Devops community, with its platform for delivering distributed applications in containers. In this Blog Post, Lets look on how to deploy a sample django app into docker container.
Python Collections - named tuple is to access by the names specified and deque is to append and pop the elements from both sides of queue are explained with real time examples in part 1 of collections series
Gitlab is a great issue tracker. You can log your project activities like issue status, deadline etc in a git repository. Before that, you need to login to Gitlab and then go to the project where you need to create/manage issues .
The single most significant advantage in Django class-based views is inheritance. On a large project it's likely that we will have lots of similar views. instead of writing the repeated code we can simply have our views inherit from a base view.
It is a bit pricy if you want to host code for collaboration using bitbucket or github on your own VPS or On-Premisis servers. Gitlab in midst of this provides a community edition which is packed with essential features and also free of cost. Both Editions ship with CI integrated in it and also can handle 3rd party CI applications like Jenkins or Bamboo ..etc.,
By writing unit test cases, you can evaluate each code component in the initial stage itself and it'll improve your app/code performance. Which is the best practice to test your code and you can easily determine if there are any errors.