first commit

This commit is contained in:
StarLee 2016-03-19 08:50:02 +08:00
commit 210fb781ea
9 changed files with 42 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
flask/*

17
.project Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>IHelpServer</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>

8
.pydevproject Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/${PROJECT_DIR_NAME}</path>
</pydev_pathproperty>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">D:\Projects\python\IHelpServer\flask\Scripts\python.exe</pydev_property>
</pydev_project>

5
app/__init__.py Normal file
View File

@ -0,0 +1,5 @@
from flask import Flask
app = Flask(__name__)
from app import views

BIN
app/__init__.pyc Normal file

Binary file not shown.

7
app/views.py Normal file
View File

@ -0,0 +1,7 @@
from app import app
@app.route('/')
@app.route('/index')
def index():
return "hi ssdf df hello world"

BIN
app/views.pyc Normal file

Binary file not shown.

4
run.py Normal file
View File

@ -0,0 +1,4 @@
from app import app
app.run(debug = True)

BIN
run.pyc Normal file

Binary file not shown.