FinalsClub / karmaworld

KarmaNotes.org v3.0
GNU Affero General Public License v3.0
7 stars 6 forks source link

interactive runserver shell via fabric #350

Closed btbonval closed 9 years ago

btbonval commented 10 years ago

This would be handy when debugging code on the VM.

It might be useful for remote tertiary servers as well.

I know I have done this before in fabric before, but I forgot how. That was back when I did things behind closed doors, so that code is long sealed from being useful to anybody. The pipe work is a bit strange as I recall, but there is a way to modify client's stdin/stdout to the fabric ssh connection's stdin/stdout.

btbonval commented 10 years ago

No Vagrant VM, no fabric, no need for interactive runserver on Vagrant VM via fabric, given that the latter two things aren't a thing.

Before this is closed, is there a way to run the server interactively via Heroku and would it be worth making our own way to do this if not?

There is a way to connect to a Heroku system with bash, but I'm unsure if this has the right environment. We should test this command to see if we can runserver this way. https://devcenter.heroku.com/articles/one-off-dynos#an-example-one-off-dyno

btbonval commented 10 years ago

Oh maybe runserver can be run as a one-off dyno directly and connect stdin/stdout properly. https://devcenter.heroku.com/articles/one-off-dynos#one-off-dyno-execution-syntax

btbonval commented 9 years ago

meh.

I don't recall the utility of this. Perhaps there is none in the current context. If it is important, the issue will come up again some other time.

Closing.