# Using standard install, at step to edit app.yml, No app.yml

**URL:** <https://meta.discourse.org/t/using-standard-install-at-step-to-edit-app-yml-no-app-yml/152773>\
**Category:** Self-hosting\
**Created:** [May 26, 2020, 2:06pm UTC](https://meta.discourse.org/t/using-standard-install-at-step-to-edit-app-yml-no-app-yml/152773 "2020-05-26T14:06:53Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)\
**Post date:** [May 26, 2020, 4:13pm UTC](https://meta.discourse.org/t/using-standard-install-at-step-to-edit-app-yml-no-app-yml/152773/6 "2020-05-26T16:13:37Z")

</div>

Now that I done my brain fart and have made it to the `Building app` statement in running `$ sudo ./discourse-setup` both replies make sense.

For those on the same path as noted in the question. Here is what I did

1. Copy of `app.yml` from the samples directory as noted by [Justin](https://meta.discourse.org/t/using-standard-install-at-step-to-edit-app-yml-no-app-yml/152773/5).

```plaintext
$ sudo cp /var/discourse/samples/standalone.yml /var/discourse/containers/app.yml

```

1. Change the three values for the SMTP mail server as noted in this blog [entry](https://blog.discourse.org/2016/03/switching-your-discourse-from-mandrill-to-mailgun/).

```plaintext
$ sudo vim containers/app.yml

```

1. Was unable to do rebuild since earlier I chose to let the `Discourse build` install Docker so **SKIP** this step.

```plaintext
$ ./launcher rebuild app

```

1. Do the Discourse setup

```plaintext
$ sudo ./discourse-setup

```

This is where the prompts noted by [Robert](https://meta.discourse.org/t/using-standard-install-at-step-to-edit-app-yml-no-app-yml/152773/2) appear. Having never done a production install I have not seen these particular prompts.

Since Docker was not installed the first prompt was to install Docker

```plaintext
Docker not installed. Enter to install from https://get.docker.com/ or Ctrl+C to exit

```

then Docker installed followed by

```plaintext
Hostname for your Discourse? [discourse.example.com]: ***

Checking your domain name . . .
Connection to *** succeeded.
Email address for admin account(s)? [me@example.com,you@example.com]: ***@gmail.com
SMTP server address? [***.mailgun.org]:  
SMTP port? [587]: 
SMTP user name? [***@***]: 
SMTP password? [55...]: 
Optional email address for Let's Encrypt warnings? (ENTER to skip) [me@example.com]: ***@gmail.com

Does this look right?

Hostname : ***
Email : ***@gmail.com
SMTP address : ***.mailgun.org
SMTP port : 587
SMTP username : ***@***
SMTP password : 55...
Let's Encrypt : ***@gmail.com

ENTER to continue, 'n' to try again, Ctrl+C to exit:
Enabling Let's Encrypt
web.ssl.template.yml enabled
letsencrypt.ssl.template.yml enabled

Configuration file at updated successfully!

Updates successful. Rebuilding in 5 seconds.
Building app
...

```

---

_[View the full topic](https://meta.discourse.org/t/using-standard-install-at-step-to-edit-app-yml-no-app-yml/152773)._
