application need to run this project
XAMPP
NODE JS
VISUAL STUDIO CODE
GIT BASH
GITHUB ACCOUNT
how to run this project:
open cmd or other terminal
git clone {url}
cd waste-disposal-tracking-system // project directory
code . // shortcut to open with vs code
composer install
npm install
npm install -D tailwind css
npx tailwind css init
locate config.js and paste this
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
extend: {},
},
plugins: [],
}
php artisan optimize
php artisan key:generate
copy the env-example change to -.env
copy the db name and create your db
php artisan migrate
php artisan migrate:fresh --seed
php artisan optimize
php artisan serve
npm run dev
php artisan make:controller SampleController // to create new controller in terminal
php artisan make:model ModelName // to create a new model in terminal
php artisan optimize:clear
php artisan route:clear
php artisan cache:clear
git basic commands
git pull
git fetch
git switch "branch name"
git commit =m "initial commit"
git push
Prepared by: Kevs404