Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install community platform #375

Closed
4 of 11 tasks
bajiat opened this issue Aug 14, 2015 · 28 comments
Closed
4 of 11 tasks

Install community platform #375

bajiat opened this issue Aug 14, 2015 · 28 comments
Assignees
Milestone

Comments

@bajiat
Copy link
Contributor

bajiat commented Aug 14, 2015

We have agreed to combine the Apinf and API Umbrella communities under API Umbrella. To this end, we need a community portal. Please refer to the community platform discusison on the API Umbrella issue queue.

Definition of done

  • Choose the community platform.
  • Create VM or Docker instance.
  • Create subdomain.
  • Point subdomain to VM.
  • Install community platform on VM or Docker instance.
  • Perform initial configuration on community platform.
    • Reverse proxy
    • Mailgun
    • Initial admins
    • Initial categories (e.g. Apinf, API Umbrella, Finland, ...)
    • Branding text (such as welcome message)
@brylie brylie changed the title Contact Nick about community platform Install community platform Aug 17, 2015
@bajiat bajiat added ready and removed planning labels Aug 17, 2015
@bajiat bajiat added this to the Sprint 10 milestone Aug 17, 2015
@as33ms
Copy link
Contributor

as33ms commented Aug 18, 2015

Please provide the details of the VM (with access to me), when available so that I can go ahead and install a discussion platform, e.g. discourse.

@brylie
Copy link
Contributor

brylie commented Aug 25, 2015

@ashakunt please follow up directly with Chandra on this task, as he will be creating the VM.

@ccsr
Copy link
Member

ccsr commented Aug 26, 2015

@ashakunt & @brylie I am trying to get one IP free from our pool so that we can create the VM. Are we still using Discourse?

@as33ms
Copy link
Contributor

as33ms commented Aug 26, 2015

@ccsr discourse seems to be a pretty nice option. So, for now yes. Although, one could also fall back to google-groups or other similar offerings. But I am not sure if we want to go there using apinf?

@ccsr
Copy link
Member

ccsr commented Aug 26, 2015

@ashakunt No Google stuff in this project please. thanks

@as33ms
Copy link
Contributor

as33ms commented Aug 26, 2015

On the lighter note, @ccsr ; what will be do without google ... (search)

@ccsr
Copy link
Member

ccsr commented Aug 26, 2015

@ashakunt I recommend https://duckduckgo.com/

@ccsr ccsr assigned ccsr and unassigned as33ms Aug 27, 2015
@ccsr
Copy link
Member

ccsr commented Aug 27, 2015

Assigning to @ccsr

@as33ms
Copy link
Contributor

as33ms commented Aug 27, 2015

@ccsr : quack! please let me know when the VM is done (with relevant credentials)

@ccsr
Copy link
Member

ccsr commented Aug 27, 2015

@ashakunt you should have all the details now

@ccsr ccsr assigned as33ms and unassigned ccsr Aug 27, 2015
@brylie brylie assigned ccsr and unassigned as33ms Aug 27, 2015
@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

@ccsr can you please first create a domain and point that to the VM (hack.apinf.io)?

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

@ccsr It would also be required to create a mailgun credential for this website. So, please get the following items done:

  • Create a new VM (since hack.apinf is already running docker, we cannot run discourse, which also requires docker)
  • Create a subdomain (e.g. discourse.apinf.io)
  • Point this subdomain to VM
  • Create mailgun account for discourse.apinf.io
  • Share the credentials for mailgun with me

Once this all steps are done, installation would take 20-30 minutes to finish.

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

Other alternatives are to run other forum software, e.g. phpBB or bbPress (by wordpress, installs as a plugin to wordpress); but they will possibly be running on NON DEFAULT ports (so, url will be like: discourse.something.com:8081 or similar) which is not what we want.

So, a new VM + IP is required.

@brylie
Copy link
Contributor

brylie commented Aug 28, 2015

If Discourse is dockerized, it should run fine on the same VM with another dockerized application. As far as I understand, that is one of the benefits of containerization.

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

@brylie, thanks, I guess I would have been misguided. I will check that as soon as I am in office and close it.

Excuse typos, sent from mobile device!

-----Original Message-----
From: "Brylie Christopher Oxley" notifications@github.com
Sent: ‎28/‎08/‎2015 09:57
To: "apinf/api-umbrella-dashboard" api-umbrella-dashboard@noreply.github.com
Cc: "Aseem Shakuntal" ashakunt.github@codemenders.com
Subject: Re: [api-umbrella-dashboard] Install community platform (#375)

If Discourse is dockerized, it should run fine on the same VM with another dockerized application. As far as I understand, that is one of the benefits of containerization.

Reply to this email directly or view it on GitHub.

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

@ccsr @brylie

Please still provide a mailgun account, which is required during installation + subdomain mapped to the VM.

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

@ccsr discourse has been installed at the VM. I have use sandbox mailgun credentials that might or might not work. So, please provide a valid mailgun credential for this purpose. Also, after the subdomain is available and mapped to the VM, we have to fix the url. Currently, the installation is accessible at: hack.apinf.io:8080

@ccsr
Copy link
Member

ccsr commented Aug 28, 2015

@ashakunt This is community portal for apiumbrella.io and not for apinf.io
We need to wait till it happens from apiumbrella.io

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

@ccsr in that case, should I shut down the app right now and we turn it on only where there are actual credentials available?

@ccsr
Copy link
Member

ccsr commented Aug 28, 2015

@ashakunt this is depending on the issue NREL/api-umbrella#122 (comment)

@ccsr
Copy link
Member

ccsr commented Aug 28, 2015

@ashakunt So you can safely shutdown

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

Ok. So, discourse has been installed already and seems to work (on port 8080). Once we have the proper credentials, we need to fill them up here:

  DISCOURSE_SMTP_PORT: 465                      # (optional)
  #DISCOURSE_SMTP_USER_NAME: "mailgun smtp username"      # (optional)
  #DISCOURSE_SMTP_PASSWORD: "mailgun smtp password"              # (optional)
  DISCOURSE_SMTP_ENABLE_START_TLS: true           # (optional, default true)

After this: sudo ./launcher rebuild app

@as33ms
Copy link
Contributor

as33ms commented Aug 28, 2015

(as of now, the docker has been stopped)

@brylie
Copy link
Contributor

brylie commented Sep 1, 2015

I am getting errors when trying to load hack.apinf.io:8080. Is the Discourse platform still running? Also, we may need to set up a reverse proxy, so that end-users do not have to enter a port number when visiting the community site.

@as33ms
Copy link
Contributor

as33ms commented Sep 1, 2015

@brylie based on the comments from @ccsr (and myself), the docker is currently turned OFF. My understanding is that it will be turned on once we have the correct mailgun credentials for api-umbrella.

@ccsr
Copy link
Member

ccsr commented Sep 1, 2015

@brylie I am able to get in with out using 8080. Right now Docker is not required to run as we are waiting for Domain transfer.

@as33ms
Copy link
Contributor

as33ms commented Sep 1, 2015

@ccsr you must be getting into hack.apinf.io. Not the discourse installation.

@as33ms
Copy link
Contributor

as33ms commented Sep 1, 2015

@brylie , Yes, when I have the information about what domain to use, we will setup a reverse proxy.

@brylie brylie modified the milestones: Sprint 10, Sprint 12 Sep 17, 2015
@brylie brylie closed this as completed Oct 5, 2015
@brylie brylie removed the in progress label Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants