diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..763624e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +__pycache__/* \ No newline at end of file diff --git a/.replit b/.replit index ffac1ba..1eadfde 100644 --- a/.replit +++ b/.replit @@ -1,15 +1,21 @@ -entrypoint = "main.py" -modules = ["python-3.8:v2-20230907-3d66d15"] +modules = ["web", "python-3.8", "nix"] hidden = [".pythonlibs"] run = "flask run -h 0.0.0.0 -p 8080 --reload" [nix] -channel = "stable-23_05" +channel = "stable-23_11" [env] LANG = "en_US.UTF-8" [[ports]] -localPort = 8080 +localPort = 5000 externalPort = 80 +exposeLocalhost = true + +[[ports]] +localPort = 8080 + +[deployment] +run = ["sh", "-c", "flask run -h 0.0.0.0 -p 8080 --reload"]