How to Install NearBeach

Welcome to NearBeach, this document will help you install the NearBeach application onto your server. Please make sure you meet the following minimum requirements;

Minimum Requirements

Hardware

  • 1 GB RAM
  • 1+ Core CPU (for small user base)
  • 5+ GB Space (more for uploading documents)

Please note - Digital Ocean* has servers that meet this criteria for $5/month. *This is an a referral link - https://m.do.co/c/6d42408a8111

Software

  • Ubuntu 16.04 or Ubuntu 18.04
  • Python 3.6+
  • Django 2.1+
  • Nginx
  • Gunicorn
  • MySQL

The following instructions are broken up to help both the new users and old. If you already know how to install a certain module, feel free to skip it. Please note some modules will have optional installation methods. You will only need to complete one of them.

Section 1 - Installation of Server

Ubuntu 18.10

Section 2 - Installation of a Django and the setup of Gunicorn

Installation of Django

Section 3 - Setup of Database

MySQL in Ubuntu

Section 4 - Installation of NearBeach

Installation of NearBeach

Optional Steps

Installation of Logs in NearBeach

Installation of NearBeach API

Connect Mapbox

Connect Google Maps

Trouble Shooting Issues

PDF Rendering gives 500 error