ialbert / biostar-central

Biostar Q&A

Home Page:http://www.biostars.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deployed through ansible to my server, but no response

azurechen opened this issue · comments

I start a new Ubuntu 20.04 machine with a static ip address 147.182.142.215.
I also follow the readme file to deploy biostar. I don't have a domain, therefore I have changed some configs.

conf/ansible/hosts.ini

 [biostar]
-www.biostars.org
+147.182.142.215

conf/site/site_nginx.conf

-    server_name www.foo.org;
+    server_name 147.182.142.215;

conf/site/site_settings.py

-SITE_DOMAIN = "foo.com"
+SITE_DOMAIN = "147.182.142.215"

And then run the deploy and restart command at conf/ansible folder

make setup install deploy TARGET=biostar
make restart TARGET=biostar

Looks like all deployment jobs are completed. But when I open the browser and enter http://147.182.142.215/ . There is only the message ERR_EMPTY_RESPONSE.
I have checked the nginx configs but there is nothing wrong.

Is any config missing? or should I do anything more to complete the setup and deploy flow?

Thank you very much