how to use replit db on visual studio code
I started using GitHub copilot and I don't want to transfer my code over every 2 seconds
Voters
VulcanWM
Replit db is only a replit thing
You cannot use it in vscode
DynamicSquid
@VulcanWM You can use Replit DB on VSCode, Replit has package for that (sorry I'm really late in replying xD)
VulcanWM
Oh really? Wow @DynamicSquid
Install the Replit package. Go to a repl. Copy the database url. Go into your code. Import the package into your code. Insert the database url.
@CosmicBear how would i install the database url
@Kingq23 what language?
@CosmicBear python
Then use it like normal.
In a repl, the database url would be an environment secret.
@Kingq23
@CosmicBear when i do that i get this "ModuleNotFoundError: No module named 'replit'"
@Killogee you need to install the replit module.
$pip install replit