This is the repository for the new Kingdomhire-2.0 website re-design.
I thought it was a good time to re-visit www.kingdomhire.com and improve the site.
I am using Laravel 6 to aid in the development process.
I will be using a MySQL database backend for the new website.
The application needs to be compatible with MySQL 5.5, due to the web host only supporting it.
A new admin dashboard, where an admin can access a dashboard that allows them to directly query the database.
The purpose of the dashboard is allow an admin to be able to manage vehicles, hires and reservations, along with smaller features included.
More important business info will need to be displayed on the website, along with a more complete list of vehicles
Clone this repo with git clone https://github.com/dcrblack/Kingdomhire-2.0.git and then install Homestead
and all of its prerequisites before setting up this website.
I've tested this codebase with verson v8.6.0 of Homestead, so make sure your Homestead checkout is that version e.g. git checkout v8.6.0.
After installing Homestead, do the following:
- run
vagrant upto start your VM if you haven't already - run
vagrant sshinto your laravel/homestead VM - run
cd /home/vagrant/Kingdomhire-2.0 && composer installto install php dependencies. - run
composer run-script post-root-package-installto create .env config file - run
php artisan key:generateto create application key - run
php artisan migrate --seedto create and populate the db with dummy data (exclude--seedif you only want to create the db) - run
php artisan storage:linkto create public/storage symlink to storage/app/public - run
php artisan schedule:runto convert reservations to active hires, and any active hires to past hires - run
php artisan user:create -tto create a test user so you can login to the admin dashboard (you can login to the dashboard at http://homestead.test/login) - The application should now be viewable at http://homestead.test (or something similar e.g. 192.168.10.10)
- Enjoy browsing the application!