Skip to content

Instantly share code, notes, and snippets.

View allyjweir's full-sized avatar

Ally Weir allyjweir

  • GitHub Staff
  • Glasgow, Scotland
View GitHub Profile
@allyjweir
allyjweir / django-runserver-ssl.md
Last active August 13, 2018 10:30 — forked from claudiosanches/django-runserver-ssl.md
Django - SSL with runserver

Instalation

[sudo] apt-get install stunnel

Configuration

cd path/to/django/project
# Install SonarQube and dependencies on Ubuntu 16.04 LTS
# Create new user for future access
# Disable 'root' user SSH access
# Install and configure Postgres
sudo apt-get instal
sudo -u postgres psql postgres
CREATE DATABASE sonar;
CREATE USER sonar WITH PASSWORD 'verysecret';