ParticipioLabs / plato-core

Shared code between Plato Project apps
https://www.platoproject.org/eng
1 stars 0 forks source link

Set up our own Discourse server #3

Closed Powersource closed 3 years ago

Powersource commented 3 years ago

"Plato Discourse"

Powersource commented 3 years ago

Ok lol so apparently we have to use their cli tool to be able to use the docker image (which is the recommended way to install)

Powersource commented 3 years ago

welp

# ./discourse-setup
Port 80 appears to already be in use.

This will show you what command is using port 80
COMMAND  PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nginx    930     root   18u  IPv6  20851      0t0  TCP *:http (LISTEN)
nginx    930     root   19u  IPv4  20852      0t0  TCP *:http (LISTEN)
nginx   8679 www-data   18u  IPv6  20851      0t0  TCP *:http (LISTEN)
nginx   8679 www-data   19u  IPv4  20852      0t0  TCP *:http (LISTEN)
nginx   8680 www-data   18u  IPv6  20851      0t0  TCP *:http (LISTEN)
nginx   8680 www-data   19u  IPv4  20852      0t0  TCP *:http (LISTEN)

If you are trying to run Discourse simultaneously with another web
server like Apache or nginx, you will need to bind to a different port

See https://meta.discourse.org/t/17247

If you are reconfiguring an already-configured Discourse, use

./launcher stop app

to stop Discourse before you reconfigure it and try again.
Powersource commented 3 years ago

ok we're just making another digitalocean server lol

Powersource commented 3 years ago

and there we go! https://discourse.platoproject.org/