Created
November 18, 2020 23:32
-
-
Save buckyroberts/b2be573741650542d523bb4e559270dc to your computer and use it in GitHub Desktop.
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
Validator Notes | |
before running sudo pip3 install -r requirements/production.txt | |
run this | |
sudo apt-get install libpq-dev -y | |
then run this - | |
sudo apt install postgresql postgresql-contrib -y | |
sudo -u postgres psql | |
CREATE DATABASE thenewboston; | |
CREATE USER deploy WITH PASSWORD ‘password1234’; | |
ALTER ROLE deploy SET client_encoding TO ‘utf8’; | |
ALTER ROLE deploy SET default_transaction_isolation TO ‘read committed’; | |
ALTER ROLE deploy SET timezone TO ‘UTC’; | |
GRANT ALL PRIVILEGES ON DATABASE thenewboston TO deploy; | |
\q |
If I skipped one of the steps should I restart from the beginning and if so how far back do I go? Should I terminate the instance? How many instances can I make and delete? If I can back up steps how do I do that?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also for those who run into issues setting utc
ALTER ROLE deploy SET timezone = 'UTC';