From 298c9d4ab7d2d60ec65b40e9089e663ad3915868 Mon Sep 17 00:00:00 2001 From: AI Christianson <24681233+ai-christianson@users.noreply.github.com> Date: Thu, 26 Dec 2024 12:21:45 -0500 Subject: [PATCH] Replit (#16) Add replit configuration. --- .replit | 27 +++++++++++++++++++++++++++ replit.nix | 13 +++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 .replit create mode 100644 replit.nix diff --git a/.replit b/.replit new file mode 100644 index 0000000..681779c --- /dev/null +++ b/.replit @@ -0,0 +1,27 @@ + +modules = ["python-3.10:v18-20230807-322e88b"] +run = "ra-aid --chat" + +[nix] +channel = "stable-24_05" + +[deployment] +run = ["sh", "-c", "ra-aid --chat"] + +[env] +VIRTUAL_ENV = "/home/runner/${REPL_SLUG}/venv" +PATH = "${VIRTUAL_ENV}/bin:/home/runner/${REPL_SLUG}/.config/npm/node_global/bin:${PATH}" +PYTHONPATH = "$PYTHONPATH:/home/runner/${REPL_SLUG}" + +# Package installation +[packager] +language = "python3" +ignoredPackages = ["unit_tests"] + +[packager.features] +enabledForHosting = false +packageSearch = true +guessImports = true + +[unitTest] +language = "python3" diff --git a/replit.nix b/replit.nix new file mode 100644 index 0000000..3fbeddb --- /dev/null +++ b/replit.nix @@ -0,0 +1,13 @@ + +{ pkgs }: { + deps = [ + pkgs.awsebcli + pkgs.bash + pkgs.python310 + pkgs.poetry + pkgs.nodePackages.npm + pkgs.bashInteractive + pkgs.man + pkgs.git + ]; +}