Commit 3a1cbf46 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

chagne configure script to be able to be run from any directory

parent 8e92ea58
#!/bin/bash
cp .env.example .env
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd "${DIR}" || exit 255
php artisan clear-compiled
php artisan cache:clear
php artisan view:clear
cp .env.example .env
php artisan key:generate
php artisan migrate
php artisan migrate:fresh
php artisan passport:install --force
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment