Open Courseware (OCW) Management System provides a web platform for courses of study. Faculty can manage course materials online so students can access lectures and assignments, submit work, and view grades.
Built with Laravel 13 and PHP 8.3+ (PHP 8.4 recommended).
- Faculty and student registration and login
- Course, lecture, and assignment management
- Student enrollment and assignment submission
- Faculty grading and progress tracking
- Docker and Docker Compose (recommended)
- Or PHP 8.3+, Composer, and MySQL 8
- Clone the repository:
git clone <repository-url> ocwms
cd ocwms- Copy the environment file and install dependencies:
cp .env.example .env
docker compose run --rm app composer install- Start the containers:
docker compose up -d --build- Generate an application key and run migrations:
docker compose exec app php artisan key:generate
docker compose exec app php artisan migrate- Open the application at http://localhost:8095.
docker compose up -dStop the stack:
docker compose downRun tests inside Docker:
docker compose exec app php artisan test-
Install PHP 8.3+ extensions:
mbstring,pdo_mysql,zip,openssl. -
Install dependencies and configure the app:
composer install
cp .env.example .env
php artisan key:generate- Set database credentials in
.envand run migrations:
php artisan migrate- Start the development server:
php artisan serveVisit http://localhost:8000.
php artisan testTests use an in-memory SQLite database (configured in phpunit.xml).
| Path | Description |
|---|---|
app/Http/Controllers |
Faculty, student, and home controllers |
app/Models |
Eloquent models |
resources/views |
Blade templates |
public/uploads |
Uploaded lecture, assignment, and solution files |
docker-compose.yml |
Local Docker stack (nginx, PHP-FPM, MySQL) |
This project is open-sourced software licensed under the MIT license.