Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
Create free AWS Account at https://aws.amazon.com/
I would be creating a t2.medium ubuntu machine for this demo.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>موقعي الشخصي</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<div class="container"> |
// RUN with a recent node.js version, using "node gen-types.mjs" | |
// DEPENDS on typescript and ts-morph | |
import { Project } from "ts-morph"; | |
import { writeFileSync } from "fs"; | |
const project = new Project({ | |
tsConfigFilePath: "tsconfig.json", | |
}); |
{0: 'tench, Tinca tinca', | |
1: 'goldfish, Carassius auratus', | |
2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
3: 'tiger shark, Galeocerdo cuvieri', | |
4: 'hammerhead, hammerhead shark', | |
5: 'electric ray, crampfish, numbfish, torpedo', | |
6: 'stingray', | |
7: 'cock', | |
8: 'hen', | |
9: 'ostrich, Struthio camelus', |
<div class="body"> | |
<div class="chest"> | |
<div class="left"><div class="clavicle"></div></div> | |
<div class="right"><div class="clavicle"></div></div> | |
</div> | |
<div class="breast"> | |
<div class="left"><ul class="boob"><li class="nipple"></li></ul></div> | |
<div class="right"><ul class="boob"><li class="nipple"></li></ul></div> | |
<div class="between"></div> |
Настройка Git клиента для идентификации пользователя: | |
git config --global user.name "Your Name" | |
git config --global user.email "your@email.address" | |
git config --global core.editor "your editor" | |
Инициализация репозитория в текущем каталоге: | |
git init | |
Создает репозиторий в указанном каталоге: | |
git init <directory> |