-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall
More file actions
54 lines (45 loc) · 1.5 KB
/
Copy pathinstall
File metadata and controls
54 lines (45 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
sudo apt-get update
##sudo apt-get install -y python python-pip python-virtualenv nginx gunicorn
##sudo pip install Flask
#http://flask.pocoo.org/docs/0.10/installation/
sudo apt-get install python-virtualenv
sudo apt-get install python-pip
virtualenv --version
mkdir pyflask # already made
cd pyflask
virtualenv pf #already done
. pf/bin/activate
pip install Flask #ALREADY DONE
vi helloworld.py
## press “i” to enter the INSERT mode. Add the code, then press “escape” to leave INSERT mode to go into COMMAND mode. #Finally type “:wq” to save and exit VIM
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
python helloworld.py
check at terminal. like: http://127.0.0.1:5000/
sudo apt-get install git
git init
git config user.name = 'parthasen'
git config user.email ='research@parthasen.net'
git status
atom .gitignore
#####################https://github.com/fromzeroedu
git add .
git commit -m "First commit"
https://realpython.com/blog/python/kickstarting-flask-on-ubuntu-setup-and-deployment/
https://realpython.com/#course-packages
https://d3js.org/
git
node js
npm
Bower
Bootstrap
https://www.heroku.com/pricing
https://ide.c9.io/financemodel/test#openfile-README.md
https://realpython.com/blog/python/web-development-with-flask-fetching-data-with-requests/
http://www.practicepython.org/exercise/2014/06/06/17-decode-a-web-page.html
http://www.practicepython.org/solution/2014/07/10/17-decode-a-web-page-solutions.html