Supported Replit
This commit is contained in:
89
.replit
Normal file
89
.replit
Normal file
@@ -0,0 +1,89 @@
|
||||
run = "python3 main.py"
|
||||
|
||||
# The primary language of the repl. There can be others, though!
|
||||
language = "python3"
|
||||
# A list of globs that specify which files and directories should
|
||||
# be hidden in the workspace.
|
||||
hidden = ["venv", ".config", "**/__pycache__", "**/.mypy_cache", "**/*.pyc"]
|
||||
|
||||
# Specifies which nix channel to use when building the environment.
|
||||
[nix]
|
||||
channel = "stable-22_11"
|
||||
|
||||
[env]
|
||||
VIRTUAL_ENV = "/home/runner/${REPL_SLUG}/venv"
|
||||
PATH = "${VIRTUAL_ENV}/bin"
|
||||
PYTHONPATH = "${VIRTUAL_ENV}/lib/python3.10/site-packages"
|
||||
REPLIT_POETRY_PYPI_REPOSITORY = "https://package-proxy.replit.com/pypi/"
|
||||
MPLBACKEND = "TkAgg"
|
||||
POETRY_CACHE_DIR = "${HOME}/${REPL_SLUG}/.cache/pypoetry"
|
||||
|
||||
# Enable unit tests. This is only supported for a few languages.
|
||||
[unitTest]
|
||||
language = "python3"
|
||||
|
||||
# Add a debugger!
|
||||
[debugger]
|
||||
support = true
|
||||
|
||||
# How to start the debugger.
|
||||
[debugger.interactive]
|
||||
transport = "localhost:0"
|
||||
startCommand = ["dap-python", "main.py"]
|
||||
|
||||
# How to communicate with the debugger.
|
||||
[debugger.interactive.integratedAdapter]
|
||||
dapTcpAddress = "localhost:0"
|
||||
|
||||
# How to tell the debugger to start a debugging session.
|
||||
[debugger.interactive.initializeMessage]
|
||||
command = "initialize"
|
||||
type = "request"
|
||||
|
||||
[debugger.interactive.initializeMessage.arguments]
|
||||
adapterID = "debugpy"
|
||||
clientID = "replit"
|
||||
clientName = "replit.com"
|
||||
columnsStartAt1 = true
|
||||
linesStartAt1 = true
|
||||
locale = "en-us"
|
||||
pathFormat = "path"
|
||||
supportsInvalidatedEvent = true
|
||||
supportsProgressReporting = true
|
||||
supportsRunInTerminalRequest = true
|
||||
supportsVariablePaging = true
|
||||
supportsVariableType = true
|
||||
|
||||
# How to tell the debugger to start the debuggee application.
|
||||
[debugger.interactive.launchMessage]
|
||||
command = "attach"
|
||||
type = "request"
|
||||
|
||||
[debugger.interactive.launchMessage.arguments]
|
||||
logging = {}
|
||||
|
||||
# Configures the packager.
|
||||
[packager]
|
||||
language = "python3"
|
||||
ignoredPackages = ["unit_tests"]
|
||||
|
||||
[packager.features]
|
||||
enabledForHosting = false
|
||||
# Enable searching packages from the sidebar.
|
||||
packageSearch = true
|
||||
# Enable guessing what packages are needed from the code.
|
||||
guessImports = true
|
||||
|
||||
# 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"]
|
||||
|
||||
[languages]
|
||||
|
||||
[languages.python3]
|
||||
pattern = "**/*.py"
|
||||
|
||||
[languages.python3.languageServer]
|
||||
start = "pylsp"
|
||||
@@ -13,6 +13,9 @@
|
||||
<img src="https://user-images.githubusercontent.com/94597336/218930368-46fff9ef-628b-4daa-aee1-7c5e5692700c.png" height=300>
|
||||
</div>
|
||||
|
||||
## Run the Projects
|
||||
[](https://replit.com/new/github/ChocoMeow/Vocard)
|
||||
|
||||
## Requirements
|
||||
* [Python 3.8+](https://www.python.org/downloads/)
|
||||
* [Modules in requirements](https://github.com/ChocoMeow/Vocard/blob/main/requirements.txt)
|
||||
|
||||
Reference in New Issue
Block a user