Posts

How to Set up virtual environment in pycharm

First of all, create a virtual environment in your local system open your folder and go to your path in Command promt day-1> virtualenv gmenv or For Specified Version-   virtualenv env_name --python==python3.6 To activate the Virtual environment in terminal use source ./env_name/bin/activate then Successfully created Then Go to pycham and to settings to inseide project and selecte project interperter Next you can see the Settings symbol, Then click on that symbol and ADD Select Existing environment and your virtual env path and click on ok. Done, Thanks 

How to Create cornTab for Django Applcation

referance link: https://medium.com/@harishoraon/writing-your-first-cron-job-in-django-ed62b805d822 https://pypi.org/project/django-crontab/

How to Scheduled tasks on server using Corn Job

As we know, Cron Jobs are nothing but Scheduled tasks in software environment which will be running at a specified frequency. Examples: Sending notifications to the users. Sending registered users list to the specified email id..etc. Writing Cron Jobs are different in Cloud Servers than writing in Shared hosting. In Shared hosting, you have options to add Cron Jobs in Cron Job Manager. You can see this option in Cpanel from the Shared Hosting providers. In Cloud servers, we have to work with CLI (Command Line Interface) to write Cron Jobs. Here I am going to explain the simple steps to write your own Cron Jobs on AWS EC2 Server. a.   First, you have to Log in to your AWS EC2 instance b.   Run the below command     $ crontab -e When you run   Crontab   command for the first time you will get some of the existed editors options to open   /bin/ed   /bin/nano   /usr/bin/vim.basic   /usr/bin/vim.tiny Choose 1-4?...

How to Add Loggin

Add in your Setting.py LOGGING = {     'version': 1,     'disable_existing_loggers': False,     'formatters': {         'console': {             # exact format is not important, this is the minimum information             'format': '%(asctime)s %(name)-12s %(levelname)-8s %(message)s',         },     },     'handlers': {         'file': {             'level': 'INFO',             'class': 'logging.FileHandler',             'filename': 'loggers.log',             'formatter': 'console...

How to Download Any New Released Movies

I am Showing now on Desktop:

How To Install and SetUp Visual Studio (IDE) and NodeJs and NPM

First, install the Visual Studio IDE for ForntEnd Code Editor (Visual studio is flexible for Frontend Technologies) How To Install Visual Studio On System? To download Visual Studio - https://code.visualstudio.com/Download If prompted, click on Save File.  After the file downloads, open your terminal and go to the Downloads folder.  $ cd ~/Downloads  Next, run this command to install the Visual Studio Code. sudo dpkg -i code_1.26.0-1534177765_amd64.deb  Close the terminal.  Visual Studio Code is now installed. How To Install and SetUp NodeJs and NPM  go through the link and download  - https://nodejs.org/en/ Once download done, open, and click on next... after they need to add some packages so allow auto-download  and it takes 20 to 30 mins(based on the internet) after open cmd - type npm install after the check version: npm -v (here you can find successfully install or not. if version show then install otherwise please do proper setup)...

how to push code on github

 git stash - Saved working directory git stash pop - get Back Saved working directory git checkout -b refactor/venkat_TraineeAttendanceReportView ( to Create new Branch) git status ( To check that stutus) git add -u git commit -m "msg" git push origin refactor/venkat_TraineeAttendanceReportView