Skip to content
Snippets Groups Projects
Commit 9aa9e482 authored by Ben Hong's avatar Ben Hong Committed by Yannis Roussos
Browse files

docs (#1397): Simplify env file creation

parent 22ee245c
No related branches found
No related tags found
Loading
......@@ -403,19 +403,13 @@ To do this, you need to:
1. SSH into the droplet
1. Change directory into `/var/meltano/project`
1. If it doesn't exist already, create a new `.env` file
```bash
touch .env
```
4. Open the `.env` file in a text editor
1. If it doesn't exist already, create a new `.env` file and open it in a text editor
```bash
vim .env
```
5. Copy and paste the following template into the `.env` file
4. Copy and paste the following template into the `.env` file
```bash
PG_USERNAME=<username>
......@@ -425,7 +419,7 @@ PG_PORT=<port>
PG_DATABASE=<database>
```
6. Replace each field with the credentials from DigitalOcean
5. Replace each field with the credentials from DigitalOcean
1. Secure the file by running the following commands:
......@@ -437,7 +431,7 @@ chown meltano:meltano /var/meltano/project/.env
chmod 620 /var/meltano/project/.env
```
8. Reload the environment variables into Meltano by restarting the service
7. Reload the environment variables into Meltano by restarting the service
```bash
systemctl restart meltano
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment