flask-ide icon indicating copy to clipboard operation
flask-ide copied to clipboard

This looks awesome, how can I help get full filesystem support?

Open partounian opened this issue 8 years ago • 5 comments

partounian avatar Oct 17 '17 21:10 partounian

I believe the local filesystem handler is complete and works, do you mean finish the ssh handler, to edit files on remote systems? Because the heroku app doesn't persist changes only because heroku dosnt allow it, if you run it locally it works.

jstacoder avatar Oct 18 '17 20:10 jstacoder

On the server that I would put this on, I would love to be able to edit files anywhere on it the webserver has permissions for.

partounian avatar Oct 18 '17 21:10 partounian

Humorously enough, there is a bug that would let you do exactly that, but I guess I could turn it into a feature, or I guess I could point you In the right direction if you wanted to give it a go, since I have fairly limited time these days (exceptionally less than when I wrote the bulk of this code)

jstacoder avatar Oct 19 '17 20:10 jstacoder

lol awesome! Any tips or gotchas you have about your system, I'd love to hear them.

partounian avatar Oct 19 '17 20:10 partounian

Well almost everything you'd need to edit would be In flask_ide/fileviewer/*, to start currently it's defaulting the root directory as the projects directory in the views.py file, that would need to be w/e the root s/b, then it's supposed to be checking the path somewhere and making sure it's not absolute, but I'll need to find that.

jstacoder avatar Oct 19 '17 20:10 jstacoder