typicode / hotel

🏩 A simple process manager for developers. Start apps from your browser and access them using local domains
MIT License
9.98k stars 424 forks source link

How does $PORT work with Django #239

Closed viztor closed 6 years ago

viztor commented 6 years ago

See above.

j-f1 commented 6 years ago

Does the information provided in my PR help you?

viztor commented 6 years ago

@j-f1 Hi, Jed. Thank you for offering help. I have tried the various way to inject $PORT into runserver command, and I'm asking it here as that command provided in your PR does not work. I'm running it macOS in case that might explain anything. Anyhow, thank yo for replying.

j-f1 commented 6 years ago

Are you using single quotes (') or double quotes (")? In the shell, $variables are interpolated if you use double quotes, and since you don’t have the $PORT variable defined in your current shell, it gets replaced with an empty string.

j-f1 commented 6 years ago

@viztor Did you get it to work?

westonganger commented 5 years ago

Oh man I just got bit by this single quotes / double quotes business. Thanks @j-f1 that should be mentioned in the readme in bold