Skip to content

Instantly share code, notes, and snippets.

View eloc0n's full-sized avatar

Giannis Bratias eloc0n

  • Athens
  • 14:10 (UTC +03:00)
View GitHub Profile

How we incorporate next and cloudfront (2018-04-21)

Feel free to contact me at [email protected] or tweet at me @statisticsftw

This is a rough outline of how we utilize next.js and S3/Cloudfront. Hope it helps!

It assumes some knowledge of AWS.

Goals

@eloc0n
eloc0n / mern-server-setup.md
Created June 20, 2022 15:40 — forked from bradtraversy/mern-server-setup.md
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

@eloc0n
eloc0n / deployment_with_uwsgi.md
Last active October 10, 2023 08:29
Deployment with uWSGI

This is not a complete guide to deploying Django with nginx & uwsgi. There are plenty parts that you either have to skip or include. It's up to you, depending on your project. Don't follow this blindly. Use your brain, stackoverflow and google the shit out of it!


Creating SSH keys (Optional)

@eloc0n
eloc0n / react_setup_django.md
Last active March 25, 2021 13:02
React Integration Using Webpack & Babel

Create frontend app

django-admin startapp frontend
cd frontend

Make sure to add it also into settings.py

INSTALLED_APPS = [
@eloc0n
eloc0n / django_deploy.md
Created March 7, 2021 12:12 — forked from bradtraversy/django_deploy.md
Django Deployment - Digital Ocean

Django Deployment to Ubuntu 18.04

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

Create A Digital Ocean Droplet

Use this link and get $10 free. Just select the $5 plan unless this a production app.

@eloc0n
eloc0n / django_cheat_sheet.md
Last active March 7, 2021 10:16
Django-command-cheat-sheet

Installing pip for Python 3

To install pip for Python 3 on Ubuntu 20.04 run the following commands as root or sudo user in your terminal:

sudo apt update
sudo apt install python3-pip

When the installation is complete, verify the installation by checking the pip version:

pip3 --version