This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: Replace UPPERCASE words with your own setup details. | |
Note 2: I use vim to edit files, you can and should replace vim with nano or any other editor of choice if you're not familiar with it. | |
Note 3: Always use random and long passwords, don't share them between applications and don't lose them. Also never commit unencrypted secrets to public repos. | |
1) Good practice to update packages | |
sudo apt-get update | |
2) Install nginx | |
sudo apt-get install curl git-core nginx -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POSTGRES_HOST=localhost | |
POSTGRES_PORT=5432 | |
DB_USERNAME=NAME_OF_USER_FOR_DB_IN_DEVELOPMENT_ENV | |
DB_PASSWORD=PASSWORD_OF_USER_FOR_DB_IN_DEVELOPMENT_ENV | |
PRODUCTION_USERNAME=NAME_OF_USER_FOR_DB | |
PRODUCTION_PASSWORD=PASSWORD_OF_USER_FOR_DB |