Skip to content

Commit 983a8c0

Browse files
committed
Add Replit configuration files
1 parent 342b5be commit 983a8c0

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.replit

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[deployment]
2+
run = ["python", "main.py"]
3+
deploymentTarget = "cloudrun"
4+
5+
[[ports]]
6+
localPort = 8000
7+
externalPort = 80

main.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
python main.py

replit.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{ pkgs }: {
2+
deps = [
3+
pkgs.python311
4+
pkgs.python311Packages.pip
5+
pkgs.python311Packages.setuptools
6+
];
7+
}

0 commit comments

Comments
 (0)