ORM Core Install

Requirements:

PHP Packages:

Install:

create database orm;
CREATE USER 'orm'@'localhost' IDENTIFIED BY 'SOMESTRONGPASSWORD';
GRANT ALL PRIVILEGES ON orm.* To 'orm'@'localhost';
FLUSH PRIVILEGES;
# Create a vendor dir
sudo mkdir /home/nginx;

# Set the right permissions
sudo chown -R nginx:nginx /home/nginx;

# Go to the web root
cd /usr/share/nginx/html/;

# Clone Repo with composer
sudo -u nginx composer create-project open-resource-manager/core OpenResourceManager/Core dev-master --keep-vcs; 

# Get into the project
cd OpenResourceManager/Core;
sudo -u nginx vi .env;
# Run DB Migrations
sudo -u nginx php artisan migrate --force;

# Seed DB With Default Assets
sudo -u nginx php artisan db:seed --force;