IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open at RIT
Accessibility
tex2html
Commits
90a9d314
Commit
90a9d314
authored
Jun 22, 2021
by
Suhas CV
Browse files
heroku PORT
parent
f7782766
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
90a9d314
...
...
@@ -4,4 +4,4 @@ services:
build
:
.
image
:
tex2html
ports
:
-
"
5
000:
5
000"
-
"
3
000:
3
000"
wsgi.py
View file @
90a9d314
from
main
import
app
import
os
if
__name__
==
"__main__"
:
app
.
run
(
host
=
'0.0.0.0'
)
\ No newline at end of file
port
=
int
(
os
.
environ
.
get
(
'PORT'
,
5000
))
app
.
run
(
host
=
'0.0.0.0'
,
port
=
port
)
\ No newline at end of file
Write
Preview
Markdown
is supported
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