Can discourse be installed in private mode


(Andrei Berceanu) #1

I would like to install discourse on a digital ocean droplet and have only registered users view the content, is that possible?


(Joshua Rosenfeld) #2

Yes, simply enable login required in site settings, and only users with accounts can see content. If you also wish to prevent users from creating accounts, enable invite only as well.

Bonus: there is an option to configure a private site when running the new site wizard, which will enable both settings for you.


(Andrei Berceanu) #3

Is this still the official install guide? It only mentions SSL at the end, should I first set up discourse and then enable SSL?

I am asking because I just read that

although that is not written in the 30 minute install guide.


(Joshua Rosenfeld) #4

Yes it is still official. SSL can be enabled during setup, just enter your email when prompted for the Let’s Encrypt email.


(Vaping Community) #5

I just did this today, I selected their 1 click app - Discourse on Ubuntu 16.04 then

SSH in:

./discourse-setup

Follow the prompts, you should be good.

If you want https / SSL on both www. and non www. add a * CNAME to the dns settings for your domain and create an A record for your main domain example@whatever.com and point it to your server IP. (the www. will redirect to your main)


(Jay Pfaffman) #6

Good point. And it’s been in the installer for well over a year.

@codinghorror you want to have a look?


(Andrei Berceanu) #7

Any idea on when v2 will become production-ready?


(Joshua Rosenfeld) #8

Sorry, I’m confused. v2 of what?


(Andrei Berceanu) #9

Of discourse, sorry for being explicit :slight_smile:


(Joshua Rosenfeld) #10

Ah, OK, I think I understand now.

Discourse 2.0.0.beta3 is production ready - it’s what we’re running right here on Meta and for our customers. If you’re looking for Discourse 2.0.0 stable, you’ll need to wait a few months. Keep in mind that stable is not guaranteed to be more “stable” than tests-passed - it is simply updated less frequently and therefore you get a controlled set of bugs, but not necessarily less bugs. See Which branch of Discourse is used internally? for more details.


(Andrei Berceanu) #11

Is 2b3 the one installed by default on digital ocean? I mean the one-click install.


(Joshua Rosenfeld) #12

I’m not certain what version is installed using the one-click install. That is managed by digital ocean, not us. However, once you have completed the one-click install you should be able to update to the latest version.