https://github.com/jedymatt/umtc-election
UMTC Election using TALL stack
https://github.com/jedymatt/umtc-election
Last synced: 3 months ago
JSON representation
UMTC Election using TALL stack
- Host: GitHub
- URL: https://github.com/jedymatt/umtc-election
- Owner: jedymatt
- Created: 2022-02-28T15:08:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T00:26:39.000Z (about 1 year ago)
- Last Synced: 2024-12-29T06:09:53.406Z (5 months ago)
- Language: PHP
- Homepage:
- Size: 4.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UMTC Election

University of Mindanao Tagum College Election System
## Prerequisites
- Php 8.0.2 or up
- Node.js and Npm
- composer
- MySQL
- XAMPP (Optional) or Docker (Optional)
- [Pusher app credentials](https://pusher.com/)## Run Locally
Clone the repository and go to umtc-election directory
```shell
git clone https://github.com/jedymatt/umtc-election.gitcd umtc-election
```Generate .env file
```shell
cp .env.development .env
```Then, configure the .env file and set your pusher crendentials
Install the composer dependencies
```shell
composer install --ignore-platform-reqs
```Run this instead when using docker:
```shell
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
```shell
npm install
npm run dev
```Populate the tables and the data to the database
```shell
php artisan migrate --seed
```Generate app key
```shell
php artisan key:generate
```Run the application
```shell
php artisan serve
```Finally, visit to view the site.
### Login as Admin
Go to
email: `[email protected]`
password: `password`