Installation

Requirements

Server

  • PHP 5.6
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension

Database

  • MySQL/MariaDB

Libs/Frameworks/Tools

  • Laravel Lumen (API)
  • ReactJS
  • Node/NPM
  • Composer

DX (Developer Experience) set-up

  • Set up Vagrant, VirtualBox and Homestead box
  • Install Homestead in Lumen project

Installation - Front-End

  1. Git clone the Stream repository
  2. npm install

Installation - Back-End

  1. cd api/ composer install
  2. Set up a .env configuration file
  3. Run php artisan key:generate
  4. vagrant box add laravel/homestead
  5. php vendor/bin/homestead make1
  6. vagrant up
  7. vagrant SSH run migration
  8. Browse to http://192.168.10.10

References

  1. Makes the Vagrantfile and Homestead.yaml