Pius
Hey guys, can anyone help with architectural questions?
Anonymous
Hope it helps
pylance
report
pylance
What Java is doing here?
cj
What Java is doing here?
🤷🏻‍♂ we don't discriminate people
Anonymous
It seems Java wants to learn Python
NR
why do you wanna do that?
I want to host site which is running under coanel
NR
Cpanel
mark
report
Clever
cj
I want to host site which is running under coanel
what have you found in Google about that?
George
What is the recommended way of dealing with separate environments? I have just configured the django decouple and i would like to be able to launch two instances (production and development) in my server. I have read the separating settings files is an anti-pattern
George
well... I use separate settings 🤷🏻‍♂️
Yeah, and that makes sense but, if that's an anti pattern, how do you deal with the actual pattern
cj
Yeah, and that makes sense but, if that's an anti pattern, how do you deal with the actual pattern
where did you read that? in Two Scoops of Django book they use separate settings too
George
well then
George
Also, how could i launch two instances of my website without doing something horrible?
🏳️‍🌈Robby [ Private Message = Spam]
Kumar
How to make connection between reactjs with django, any docs or tutorial over it??
🏳️‍🌈Robby [ Private Message = Spam]
using haproxy to spread the load out
Kumar
Need help
George
using separate settings 🙂
and if i edit something on the fly i would like the website to stay static
George
well... don't edit on the fly 😱
I would have to fucking copy everything right?
cj
or, do what Robby said, separate servers
🏳️‍🌈Robby [ Private Message = Spam]
George
or, do what Robby said, separate servers
I don't have separate servers
cj
I would have to fucking copy everything right?
if you don't want to mess one of the instances when changing a file "on the fly" 🤷🏻‍♂️
🏳️‍🌈Robby [ Private Message = Spam]
I don't have separate servers
Then why separate instances?
Kumar
Tons duckduckgo.com/?q=django+and+reactjs
Thanks, I'll check..👍
George
Then why separate instances?
Just to edit the dev one and test and the other to show to my boss
🏳️‍🌈Robby [ Private Message = Spam]
cj
Just to edit the dev one and test and the other to show to my boss
then clone the project in 2 separate folders, run each one as a separate instance
cj
Docker.
that too
George
Docker.
Nice, i think that would be it
🏳️‍🌈Robby [ Private Message = Spam]
Nice, i think that would be it
Most people here seem to think all I know is how to throw links, I do know things :)
🏳️‍🌈Robby [ Private Message = Spam]
Thanks, I'll check..👍
One thing you'll dig up is probably https://www.django-rest-framework.org/
George
Then i would make everything into a separate docker instance maybe
George
I just need one instance for production actually.
Kumar
One thing you'll dig up is probably https://www.django-rest-framework.org/
Currently, I'm working on django, for frontend I started reactjs, so I'm facing some issue with connectivity...
🏳️‍🌈Robby [ Private Message = Spam]
🏳️‍🌈Robby [ Private Message = Spam]
That I already did...
Then it should work.
Kumar
Yes
🏳️‍🌈Robby [ Private Message = Spam]
Yes
What errors are you getting?
🏳️‍🌈Robby [ Private Message = Spam]
Our crystal ball is in the shop so you're gonna have to actually give details
🏳️‍🌈Robby [ Private Message = Spam]
where is the link of Docker, for George?
https://docs.docker.com/engine
cj
https://docs.docker.com/engine
now your job is complete
🏳️‍🌈Robby [ Private Message = Spam]
I know docker ty
https://docs.docker.com/compose/install
Kumar
Currently, I'm on the way to home from ofc, after reaching I'll give the details...
cj
I know docker ty
a Robby's message without a link, wouldn't be a Robby's message
George
actually in debian docker gets installed with docker-compose package, nice
🏳️‍🌈Robby [ Private Message = Spam]
George
it's a dependency 🙂
yes, but you cant install it alone
🏳️‍🌈Robby [ Private Message = Spam]
Docker maintains their own repos I thought
George
Docker maintains their own repos I thought
It's the last version $ docker -v Docker version 18.09.1, build 4c52b90
cj
It's the last version $ docker -v Docker version 18.09.1, build 4c52b90
almost the last: Docker version 18.09.5-ce, build e8ff056dbc
George
almost the last: Docker version 18.09.5-ce, build e8ff056dbc
Should i just install the last/last/lastlast?
cj
Should i just install the last/last/lastlast?
better if you install any future release, so upstream developers wouldn't work so hard thanks to your magic tricks
cj
¿?¿¿? magic tricks?
yes, because you're gonna install a future release, they don't even started to write yet 😝
George
Then do i install the freaking latest or it's fine with the debian one, it's not even a minor version
Anonymous
hi can some one share good nginx config with multi subdomains + uwsgi ini for docker (production) with SSL
🏳️‍🌈Robby [ Private Message = Spam]
n
My pycharm trail has expaired can any one help plz
🏳️‍🌈Robby [ Private Message = Spam]
n
I am still learning the django currently not working so i cant buy any solution plz
🏳️‍🌈Robby [ Private Message = Spam]