dmio_co
dmio_co
DDeno
Created by Billionz on 12/4/2023 in #help
How do you use a private docker hub image on AWS Lightsail?
4 replies
DDeno
Created by Danielduel on 12/1/2023 in #help
Recommended `denoland/deno` contributor editor setup
All you should need is that plugin: https://marketplace.visualstudio.com/items?itemName=denoland.vscode-deno (official). You don't need any tsconfig file etc. What you'd need however is in your .vscode/settings.json, 2 keys: deno.enable: true and deno.enablePaths: ["."] (feel free to amend paths if needed)
5 replies
DDeno
Created by zrw on 12/1/2023 in #help
subhosting to run user scripts
Last one, that might seem easiest, but I am strongly against - would be just to eval somehow the user code and run it. I'm not even checking this possibility, as it brings lots of problems like permissions, access to shared resources etc. So pls don't do it.
6 replies
DDeno
Created by zrw on 12/1/2023 in #help
subhosting to run user scripts
Second option would be a Playground https://docs.deno.com/deploy/manual/playgrounds - but AFAIK, there is no API to automate them
6 replies
DDeno
Created by zrw on 12/1/2023 in #help
subhosting to run user scripts
"It all depends". There is always a way, and you can do it in multiple ways. The most secure way would be to use subhosting. https://docs.deno.com/deploy/manual/subhosting/#quick-start-example if you check this - in step 3 you're providing user code. Then you can always run a fetch command to initiate it. This way you'll get your code running in isolates and it would be safe.
6 replies