jedymatt / umtc-election

UMTC Election using TALL stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UMTC Election

Development Status Badge

University of Mindanao Tagum College Election System

Prerequisites

Run Locally

Clone the repository and go to umtc-election directory

git clone https://github.com/jedymatt/umtc-election.git

cd umtc-election

Generate .env file

cp .env.development .env

Then, configure the .env file and set your pusher crendentials

Install the composer dependencies

composer install --ignore-platform-reqs

Run this instead when using docker:

docker run --rm \
    -u "$(id -u):$(id -g)" \
    -v $(pwd):/var/www/html \
    -w /var/www/html \
    laravelsail/php81-composer:latest \
    composer install --ignore-platform-reqs

Then, compile the assets

npm install
npm run dev

Populate the tables and the data to the database

php artisan migrate --seed

Generate app key

php artisan key:generate

Run the application

php artisan serve

Finally, visit http://localhost:8000 to view the site.

Login as Admin

Go to http://localhost:8000/admin/login

email: admin@example.com

password: password

About

UMTC Election using TALL stack


Languages

Language:PHP 62.8%Language:Blade 36.6%Language:JavaScript 0.5%Language:CSS 0.0%