Skip to content

mail2asik/laravel-library

Repository files navigation

Library Management System built with Laravel 5.1.*

Installation Instructions

  1. Download and install VirtualBox and Vagrant

    Vagrant - Contains VM installation instructions to closely mimic the production box VirtualBox - Allows us to run a VM on our local machine

    This version of VirtualBox and Vagrant works well on Mac OS X El Capitan Version 10.11.6. Newer versions might work too as long as both VirtualBox and Vagrant are compatible to each other.

  2. Go to project root and type vagrant up

    $ cd Documents/webapps/laravel-library
    $ vagrant up
  3. Vagrant will now begin setting up on your machine based on instructions on the Vagrantfile

  • Setting up headless VM on VirtualBox
  • Install required software on the VM based on deploy/vagrant/build.sh
  • Creates database, run migration and seeder, etc. as per build.sh above
  1. Setup should now be completed with this message

    Done, rebooting
    System reboot successful.
    SSH to vagrant and run 'sudo /etc/init.d/vboxadd setup'. Then, 'vagrant reload' on Terminal.
  2. Type vagrant ssh to SSH into the VM

    $ vagrant ssh
  3. Type sudo /etc/init.d/vboxadd setup to update the Guest Additions. This is required to allow VirtualBox access to the local project root folder

    $ sudo /etc/init.d/vboxadd setup
  4. Exit the VM and type vagrant reload to reload the VM with the newly installed Guest Additions

    $ vagrant reload

    SSH into vagrant to confirm that you are now able to access the local folder from VM

    $ vagrant ssh
    ...
    $ cd /var/www/laravel-library
    $ ls -l

    Above should list all the files as per your local project root folder

  5. run makedb.sh to update sandbox account & sample books

       $ ./makedb.sh
       ```
    
  6. Install application specific bower components

       $ bower install

Enjoy!

Author

For any issues with installation or getting this to work, send an email to: mail2asik@gmail.com

About

Library Management System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published