Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Varun
moviesearch
Commits
70ae6f9e
Commit
70ae6f9e
authored
Sep 30, 2018
by
Ganesh Katrapati
Browse files
Changes
parent
c0f8cdee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Procfile
0 → 100644
View file @
70ae6f9e
web: python ./main.py $PORT
\ No newline at end of file
main.py
View file @
70ae6f9e
...
...
@@ -2,7 +2,7 @@ from bottle import Bottle, run, template, debug, static_file, request
import
os
,
sys
import
requests
dirname
=
os
.
path
.
dirname
(
sys
.
argv
[
0
])
#
dirname = os.path.dirname(sys.argv[0])
API_KEY
=
"e4fc6e10"
app
=
Bottle
()
...
...
@@ -47,4 +47,5 @@ def send_static(filename):
static_f
=
static_file
(
filename
,
root
=
'static/'
)
return
static_f
run
(
app
,
host
=
'0.0.0.0'
,
port
=
8000
)
if
__name__
==
'__main__'
:
run
(
app
,
host
=
'0.0.0.0'
,
port
=
sys
.
argv
[
1
])
requirements.txt
0 → 100644
View file @
70ae6f9e
bottle
gunicorn
requests
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment