DigitalOcean cloud installation - going inside the docker

Hi,

I follow the installation instruction at https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md

  1. How do i go inside the code to perform things like bin/rake admin:create

  2. Is there anyway I can set it to pull from docker’s stable branch? I think it’s pulling from master

Thanks!

./launcher enter app

Should be able to get you inside the container.

Do you mean Discourse? If so, you’re probably pulling from beta, which is currently considered best practice (and therefore is the default).

If you want to switch to stable (which isn’t necessarily more stable than beta), you can do so in app.yml when the next stable version is released.

Sorry i meant discourse’s stable branch.

when you mention app.yml, did you mean this particular attribute to set?

Which Git revision should this container use? (default: tests-passed)

#version: tests-passed
version: stable

or can i edit images/discourse/DockerFile and set it to checkout stable branch?

That’s the one.

Keep in mind that downgrades are not supported, so only change this value if the new branch has a newer version.