How to write a good test case?
Table of content How to write test cases: A step-by-step guide Test cases are the blueprints that testers will follow, so they must be clear, thorough, and accurate. Below, we’ve
Table of content How to write test cases: A step-by-step guide Test cases are the blueprints that testers will follow, so they must be clear, thorough, and accurate. Below, we’ve
Table of content What are “System Use Cases”? A “Use Case” is a sequence of actions that provide a measurable value to an actor. Another way to look at it
Continue readingAll what you need to know about “System Use Cases”
1- Install certbot. 2- Add Virtualenv using for port 80 in apache config file. add the following: 3- Stop apache server. 4- Run certbot command. 5- Start apache server.
1- Open the terminal. 2- Generate new ssh keys using your email address You will be asked for the path of the keys and keyphrarse which is used to secure
Continue readingGenerate git ssh key and adding it to ssh-agent [Linux]
If you want to allow mod_rewrite for apache on CentOS 7 just follow these steps: 1- Edit httpd.conf file by: 2- Search for this line: 3- Search for this AllowOverride
Continue readingHow To Set Up mod_rewrite for Apache on CentOS 7
Problem When trying to install big-size libraries like requests that depend on url3 or Scipy on low-speed internet it always fails because there is a 30sec default timeout. Fail example:
Continue readingHTTPSConnectionPool(host=’files.pythonhosted.org’, port=443): Read timed out.
1- Run this command and change myapp to your app name: This command will create an empty migration file inside your app migrations directory, it will look like the following.
Continue readingHow to add initial data to your Django project?
Sometimes you need to see how an action affects your database. What are queries used on the database level to optimize your project flow, or for debugging reasons.
In this article you will learn how to enable query logging for MariaDB/MySQL …
Problem have you every added any large file to git commit then you find later you can’t push to GitHub because it exceeds GitHub’s file size limit ? Don’t worry
Continue readingthis exceeds GitHub’s file size limit of 100.00 MB
It is important to keep sensitive bits of code like API keys and database credentials away from others. The best way to do this is to not put them on