Skip to content

Instantly share code, notes, and snippets.

View alexander-alegre's full-sized avatar
:shipit:

Alexander Alegre alexander-alegre

:shipit:
View GitHub Profile
@alexander-alegre
alexander-alegre / deployment_guide.md
Last active July 10, 2021 19:08 — forked from vicgonvt/deployment_guide.md
Deployment Guide for Ubuntu Server from Scratch with Laravel

Getting Started

  • Create droplet with Ubuntu 18.10
  • ssh root@[DROPLET IP ADDRESS]
  • Get password from your email
  • Change password on first login
  • adduser laravel
  • Enter password and other information
  • usermod -aG sudo laravel
@alexander-alegre
alexander-alegre / node_nginx_ssl.md
Last active May 8, 2020 19:07 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5ac12c45bf84

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user

@alexander-alegre
alexander-alegre / tslint.json
Created August 10, 2018 06:28 — forked from piotrwitek/tslint.json
TSLint rules with ESLint/React extension based on airbnb style guide
{
"rules": {
"align": [
true,
"parameters",
"arguments",
"statements"
],
"ban": false,
"class-name": true,
@alexander-alegre
alexander-alegre / .editorconfig
Created February 20, 2018 18:17 — forked from JamesMGreene/.editorconfig
Example EditorConfig file
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8