I’m trying to get discourse working on my EC2 instance. the default setup on the EC2 is done. Nothing seems to be wrong with it.
However,
I modified the discourse source which is cloned from https://github.com/discourse/discourse.git.
I tested the app locally and everything seems to work well, so I need to deliver this source code set to my EC2 instance to replace discourse_dev which is the original source code.
I made an docker image and pulled it on EC2 instance and started container from the image.
when I try ./launcher enter app, I couldn’t find /var/www/discourse.
what am I doing wrong here? please help me out!
Write your own. But I was speaking generally. Rafael, however has pointed out that sso is supported natively in the base install so you just need to follow the guide he links to configure it.
Yes. I had done it before making this topic.
Well… I’m here to ask you guys about deploying a discourse image to a server. (in my case, that’s EC2 instance)
Should I move this to another category?
I think there is a misunderstanding. I meant I followed the official guideline to install discourse.
I looked up many resources about discourse sso but nothing was helpful for my login scenario.
That’s why I had to modify the source codes.
So you need to move your code to your own plugin. I trust you have the skills to do that if you are able to modify the code directly? Install like everyone else. Otherwise your situation is unsupported unless someone has a lot of free time on their hands to work out your novel case.
Please use the plugin architecture if the core logic does not fit your needs. Then at least the basic install is identical. You will thank yourself down the line when updates are just a button click. You will also help anyone who takes over from you and get more timely support here.
Before going that far, though, you might want to explain why the native SSO support does not suit your needs and perhaps an SME on that functionality can weigh in?