Skip to main content

Posts

Mainframe Tutorials and Pointers

Best pointer on COBOL's Tables/Arrays, SEARCH and SEARCH ALL
Recent posts

A Complete GitHub Repo

1. app.py 2. requirements.txt git clone https://github.com/Azure-Samples/python-docs-hello-world cd python-docs-hello-world Creating and Activating Virtual Environment python3 -m venv .venv source .venv/bin/activate Installing Dependencies - pip install -r requirements.txt Start App -  flask run (http://127.0.0.1:5000/) If using app name other than "app.py" -  set FLASK_APP = <app name>

Heroku Deployment with GitHub

 Deploying A new app (tested Python so far) to HEROKU Open https://dashboard.heroku.com/apps Click on "New" --> Create New App button Provide app name and a region Click "Create App" Button Now choose the Deployment method as "GitHub" and connect to your concerned REPO Once repo selected, choose "enable automatic deployments"  https://www.tutlinks.com/create-and-deploy-fastapi-app-to-heroku/

Setting up git and Github

GIT. GIT. GIT               The layers are Physical. Github - Way of storing snapshots Download git into the local machine. Search on Google "git SCM', download and install into the respective local machines Choose .git and .sh extentions. Create a new repository. echo "# git" >> README.md go to your project folder git init git status (tells which branch, which commits) git add (from local file system to "Staging area")  git add README.md git commit -m "first commit" git remote add origin git@github.com:mohit3wadhwa/<repo name>.git git push -u origin master Connecting GITHUB repo (remote) to the local staging area with HTTPS. git remote add origin https://github.com:mohit3wadhwa/git.git git push if above does not work (because of not having master branch at remote), use below: git push --set-upstream origin master Github credentials will be populated. Enter them and its done! Connecting GITHUB repo (remote) to the local stagin...

My things (WhatsApp)

✌ 09/12/19, 8:20 am - Mohit Wadhwa: 4575 09/12/19, 8:21 am - Mohit Wadhwa: NOKBYYFF 09/12/19, 8:21 am - Mohit Wadhwa: AXis 22/12/19, 11:26 pm - Mohit Wadhwa: 27A Guildford Road Brighton BN1 3LW 24/12/19, 8:02 pm - Mohit Wadhwa: IMG-20191224-WA0014.jpg (file attached) Account number: 21798206 28/12/19, 8:52 pm - Mohit Wadhwa: My Monese GBP account details Name: Mohit Wadhwa Sort code: 23-69-72 Bank address: 01/01/20, 9:04 pm - Mohit Wadhwa: https://medium.com/@jimip6c12/raspberry-pi-dummy-toturial-on-linux-server-ssh-and-tcp-ip-f9d966093e8d Monese Ltd 85 Great Portland Street United Kingdom London W1W 7LT 04/01/20, 12:13 am - Mohit Wadhwa: IMG-20200104-WA0000.jpg (file attached) 18/01/20, 8:55 pm - Mohit Wadhwa: From Discover on Google https://venturebeat.com/2020/01/16/facebook-launches-pytorch-1-4-with-mobile-customization-and-java-support/ 14/01/20, 2:18 pm - Mohit Wadhwa: IMG-20200114-WA0007.jpg (file attached) 18/01/20, 2:32 pm - Mohit Wadhwa: 0700621 21/01/20, 2:52 pm - Mohit Wadh...