Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info
Hey, just wanted to give you a quick heads-up. Everything’s pretty routine on my end, but I’m currently involved in a custody matter outside of work—just working toward joint custody of my kids. | |
It hasn’t impacted my work at all, and it won’t. There may occasionally be a court hearing I’ll need to attend, but since I work fully remote, I always make sure all deliverables are handled either before or after. | |
I do have an upcoming court date that hasn’t been confirmed yet, but I’ll let you know as soon as I have that info—just so it’s on your radar. It’s not an ongoing thing, just here and there when something comes up. | |
Appreciate the understanding! |
Set the base image to Ubuntu must be first instruction - use docker search to find images
FROM ubuntu # <image>
FROM ubuntu:latest # - <image>:<tag>
FROM ubuntu:precise (LTS)
Set the maintainer info
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
Magic words:
psql -U postgres
Some interesting flags (to see all, use -h
or --help
depending on your psql version):
-E
: will describe the underlaying queries of the \
commands (cool for learning!)-l
: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)In this guide I will go through all the steps to create a VPS, secure it and deploy a Django application. This is a summarized document from this digital ocean doc
Any commands with "$" at the beginning run on your local machine and any "#" run when logged into the server
Use this link and get $10 free. Just select the $5 plan unless this a production app.
import mysql.connector | |
from mysql.connector import errorcode | |
config = { | |
'user': 'root', | |
'password': '', | |
'host': 'localhost', | |
'database': 'acme' | |
} |
We need to create a virtual env for our app to run in: More Here Run this command in whatever folder you want to create your venv folder
python -m venv ./venv
1) npm install -g firebase-tools | |
2) firebase login | |
3) firebase init hosting | |
4) pick folder | |
5) firebase serve (if u want to see how the site looks in dev) | |
6) firebase deploy |