forked from jrnxf/bst-visualizer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.replit
35 lines (28 loc) · 1011 Bytes
/
.replit
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
run = "gunicorn --bind 0.0.0.0:5000 app:app"
#run = "python3 run.py"
# The primary language of the repl. There can be others, though!
language = "python3"
entrypoint = "main.py"
# A list of globs that specify which files and directories should
# be hidden in the workspace.
hidden = ["venv", ".config", "**/__pycache__", "**/.mypy_cache", "**/*.pyc"]
modules = ["python-3.8"]
# Specifies which nix channel to use when building the environment.
[nix]
channel = "stable-21_11"
[env]
# Enable unit tests. This is only supported for a few languages.
[unitTest]
language = "python3"
# These are the files that need to be preserved when this
# language template is used as the base language template
# for Python repos imported from GitHub
[gitHubImport]
requiredFiles = [".replit", "replit.nix", ".config", "venv"]
[[ports]]
localPort = 5000
externalPort = 80
[deployment]
deploymentTarget = "cloudrun"
run = ["sh", "-c", "gunicorn --bind 0.0.0.0:5000 app:app"]
build = ["sh", "-c", "./generate_version.sh"]