/HATS

Primary LanguageHTML

Land Use Commission v2

Last modified: 9/17/2017

Table of Contents

  • Prerequisites
  • Setup
  • Usage
  • Technical Notes
  • Showcase Images
  • Prerequisites

    The following are required to run our website:

  • Ubuntu 16 or 17 (or equivalent)
  • Laravel
  • PHP-SQLite 3
  • Setup

    To ensure that you are able to run our website locally you will need to complete the following steps. Each step is crucial and not doing one may result in an error.

  • sudo apt update
  • yes | sudo apt upgrade
  • yes | sudo apt install composer
  • yes | sudo apt install php-mbstring
  • yes | sudo apt install php-dom
  • yes | sudo apt install php-sqlite3

  • If starting a new project

  • composer create-project laravel/laravel --prefer-dist
  • cd laravel
  • cp .env.example .env
  • Edit .env file DB_CONNECTION=sqlite *Make sure DB connection is sqlite*
    DB_DATABASE=/home/insert username/HATS/laravel/database/database.sqlite
  • php artisan key:generate
  • php artisan serve

  • If working with pulled files

  • cd laravel
  • sudo composer install
  • sudo composer update
  • cp .env.example .env
  • Edit .env file DB_CONNECTION=sqlite *Make sure DB connection is sqlite*
    DB_DATABASE=/home/insert username/HATS/laravel/database/database.sqlite
  • php artisan key:generate
  • php artisan serve

  • Usage

    Once the installation steps are completed you can start Laravel locally. Be sure to be in ~/HATS/laravel on the master branch and type the following command: php artisan serve to start Laravel. Access the web application in a browser at localhost:8000

    Technical Notes

    To be continued:

  • Docket Links
  • File Upload Server-Side Validation
  • File Upload Authentication
  • Server-Side Input Validation

  • If desired, link to setup SMTP:
    https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-14-04
    *Setup is compatible with Ubuntu versions after Ubuntu 14.04*

    Home Page

    alt text

    About Page

    alt text

    Dockets

    alt text

    Self-Service

    alt text

    LUC Maps

    alt text

    Contact

    alt text

    Laravel Directory

    alt text

    Development Tools

    alt text

    alt text

    alt text

    alt text