Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of contents

Table of Contents

Requirements

  1. PHP
    1. PHP >= 5.6.4
    2. OpenSSL PHP Extension
    3. PDO PHP Extension
    4. Mbstring PHP Extension
    5. Tokenizer PHP Extension
    6. Composer
  2. Server - Nginx recommended
  3. Database - PostgreSQL recommended
  4. Command line (SSH) access to the deploy server

Installation

Warning

Everytime you make a modification in the .env or config files you need to run the command php artisan config:cache so that your configuration is saved and used!


  1. Copy the repository files to a directory on the disk
  2. Copy / Rename the file ",env.example" to ".env"
  3. Edit the desired configuration details (excepting the APP_KEY property, we will set that later)
  4. Point the web server's document root to the public folder
  5. Using SSH, in the root directory of the project run the following comands
    1. composer install
    2. php artisan config:cache
    3. php artisan migrate
    4. php artisan key:generate
    5. php artisan config:cache
    6. php artisan db:seed
    7. php artisan config:cache
  6. Point your browser to the domain on which the application was installed on
  7. Login with the default credentials:
    1. username: flaviu@glitch.ro
    2. password 1234