start the flask server
export FLASK_APP=run.py flask run --host=0.0.0.0 --port=5001
export FLASK_APP=run.py flask run --host=0.0.0.0 --port=5001
import yfinance as yf stockcode = ["MSFT", "AAPL", "SPLK", "CSCO", "GOOG", "TSLA", "NOK"] stocks = [] for item in stockcode: #print(item) s = yf.Ticker(item) stock_instance = { "code": item, "website": s.info['website'], "price": s.info['regularMarketPrice'] } stocks.append(stock_instance) #print(s.info['website']) #print(stock_instance) print(stocks)
echo "#Django" >> README.md git init git add README.md git commit -m "first commit" git branch -M master git remote add https://github.com/appletreecy/Django.git git push -u origin master git pull
splunk validate cluster-bundle --check-restart (run on SH)
Python3 -m venv django_project/venv
You can put any information here you'd like.