sudo apt install mkcert
mkcert -install
mkcert computercat localhost computercat.tyemirov.lan $(hostname -I | awk '{print $1}')
Add ~/.local/share/mkcert/rootCA.pem
certificate to your browser.
Move computercat+3*.pem
certificates to images/nginx/certs/
: mv computercat+3* images/nginx/certs/
- Quarterly Retail Sales Tax Data by County and City
- ZIP Codes by Area and District codes
- 2023 TIGER/Line® Shapefiles: ZIP Code Tabulation Areas
To set up a .env file drop it in the top folder and put the following variables. Define your own values.
POSTGRES_PORT=5432
POSTGRES_DB=us_weather
POSTGRES_USER=pguser
POSTGRES_PASSWORD=mysecretpassword
mkcert install
The mkcert install
command will produce /home/tyemirov/.local/share/mkcert/rootCA.pem which needs to be added to the root CA of the browsers which will be accessing the site.
mkcert computercat localhost computercat.tyemirov.lan $(hostname -I | awk '{print $1}')
This command will produce a certificate to be added to the nginx configuration.