Skip to content

Ahmadkhan12345566/OnlineCourseRegistrationSystemLaravel

Repository files navigation

Snap CI branch Scrutinizer

OCRS AUIC SYSTEM

Introduction

Online Course Registration System(ocrs) the basic purpose of this project is to automate the process of course registration.

Environment Configuration

It is often helpful to have different configuration values based on the environment where the application is running. For example, you may wish to use a different cache driver locally than you do on your production server.

Install

The install command reads the composer.json file from the current directory, resolves the dependencies, and installs them into vendor.

composer install

Make .env configuration

You can always generate .env file manually by running:

cp .env.example .env

Generate Application Key

You can always generate application key by running

php artisan key:generate

Update Database details

You can insert you local database information by editing .env file.

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=DATABASE NAME
DB_USERNAME=DATABASE USER NAME
DB_PASSWORD=DATABASE PASSWORD

Run Database Migration

You always run the database migration command when ever you newly install the application by using:

php artisan migrate:install

Prompt will display you Migration successfully.

Run the Refresh command

You will run the refresh command for generating migrated tables by using:

php artisan migrate:refresh

Not mandatory we have set db:seed run with migrate:refresh. Now your application is ready to launch :)

Run Autoload Class Loader

You must run the autoload if found error class not found.

composer dump-autoload

Testing Data Run Seeder

You can insert dummy data in database using this command:

php artisan db:seed

Run Application

To run application, use the serve command:

php artisan serve

God Luck :-)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published