Skip to content

MPC-Rebold/assessments-laravel

Repository files navigation

MPC Assessem

CS Focused Education Software for Monterey Peninsula College

Built WIth:

PHP Laravel AlpineJS Tailwind CSS AlpineJS SQLite

Getting Started

Deployment (Production)

Follow these instructions for deployment on a shared hosting environment.

Requirements: php == 8.2 composer >= 2.7

  1. Clone branch production from this repository
git clone -b production https://github.com/MPC-Rebold/assessments-laravel.git
  1. Copy .env.example to .env and set the environment variables

  2. Run the following:

composer install
php artisan key:generate
php artisan migrate --force
php artisan db:seed
  1. Copy the seed files to the database/seed directory

  2. Copy the following into the root directory of the server (public_html)

    • ./public/build/**
    • ./public/.htaccess
    • ./public/index.php
    • ./public/robots.txt
  3. In public_html/index.php change the following lines:

require __DIR__.'/../vendor/autoload.php';
/* ... */
$app = require_once __DIR__.'/../bootstrap/app.php';

to

require __DIR__.'/../assessments-laravel/vendor/autoload.php';
/* ... */
$app = require_once __DIR__.'/../assessments-laravel/bootstrap/app.php';

Development

Follow these instructions for development on a local environment.

Requirements: php == 8.2 composer >= 2.7 node >= 20 npm >= 8

  1. Clone this repository
  2. Copy .env.example to .env and set the environment variables
  3. Run the following:
npm install
composer install
php artisan key:generate
php artisan migrate --force
php artisan db:seed
  1. Copy the seed files to the database/seed directory

About

CS Focused Education Software for Monterey Peninsula College

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages