For Windows 10 Operating System
- Download and install the software from https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
- Install all the available software from the download. At the end, you do not need to launch Stack Builder at this time.
- You must restart your machine after this install.
Download and install the software from https://www.getpostman.com/
Environment variables are needed for
- Class
- Build Week
- Labs
- Industry
Why set environment variables
- prevent adding passwords and such to github
- restrict knowledge of the passwords and such to the executing machine
To show all environment variables
printenv
To show a specific environment variable
echo %PATH%
To set up environment variables permanently
- Search for environment
- Pick Edit the system environment variables
- Click the button Environment Variables
- Under System variables click New...
- Add each of the following
Variable Name = MYDBPASSWORD
Variable Value = password
Variable Name = MYDBUSER
Variable Value = postgres
Variable Name = LAMBDACLIENT
Variable Value = lambda-client
Variable Name = LAMBDASECRET
Variable Value = lambda-secret
Variable Name = MYDBNAME
Variable Value = starthere
Variable Name = MYDBHOST
Variable Value = localhost
Restart the computer!
For Mac OS
- Download and install the software from https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
- Install all the available software from the download. At the end, you do not need to launch Stack Builder at this time.
- You must restart your machine after this install.
NOTE:
If you run into issues, try entering the following command in a terminal window. Then try to reinstall!
sudo spctl --master-disable
Surf to the website https://www.getpostman.com/ and install the software
Environment variables are needed for
- Class
- Build Week
- Labs
- Industry
Why set environment variables
- prevent adding passwords and such to github
- restrict knowledge of the passwords and such to the executing machine
To show all environment variables
printenv
To show a specific environment variable
echo $PATH
To set up environment variables permanently
Go to home directory
cd
nano .bash_profile
move to the end of the file. Add a new line and enter the following:
export MYDBPASSWORD=password
export MYDBUSER=postgres
export LAMBDACLIENT=lambda-client
export LAMBDASECRET=lambda-secret
export MYDBHOST=localhost
export MYDBNAME=starthere
Restart the computer!
For Linux specifically Ubuntu 18
To install PostgreSQL, enter the following from a terminal prompt
-
sudo nano /etc/apt/sources.list.d/pgdg.list ** enter the following line
deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main
** exit nano -
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
-
sudo apt update
-
sudo apt install postgresql-11
-
sudo apt install postgresql-client-11
-
sudo apt install pgadmin4
-
sudo -u postgres psql
-
ALTER USER postgres PASSWORD 'password';
-
\q
-
run pgadmin4 from APPs
Create a link to the server
To install Postman, from a terminal prompt enter
- sudo apt update
- sudo apt install libgconf-2-4
Surf to the website https://getpostman.com
- Download the software in a compressed file
- Extract the file to some location, like your home directory
Create a Desktop entry for Postman. It should be saved as
~/.local/share/applications/Postman.desktop
and contain the following
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/home/<your account>/Postman/app/Postman %U
Icon=/home/<your account>/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
Environment variables are needed for
- Class
- Build Week
- Labs
- Industry
Why set environment variables
- prevent adding passwords and such to github
- restrict knowledge of the passwords and such to the executing machine
To show all environment variables
printenv
To show a specific environment variable
echo $PATH
To set up environment variables permanently
Go to home directory
cd
nano .bashrc
move to the end of the file. Add a new line and enter the following:
export MYDBPASSWORD=password
export MYDBUSER=postgres
export LAMBDACLIENT=lambda-client
export LAMBDASECRET=lambda-secret
export MYDBHOST=localhost
export MYDBNAME=starthere
Restart the computer!