A room booking web app built using the Laravel framework
Most of the configuration for the Homestead virtual machine is done in Homestead.yaml
. For Homestead to work properly, create a new file named Homestead.yaml
in the project root, with contents copied from Homestead.example.yaml
. Once the file is successfully made, change the directory mapping according to your project path.
map: 'C:\path\to\roombooker'
to: /home/vagrant/code
Don't forget to add the app domain into /etc/hosts
If everything is done, run vagrant up
to start the virtual machine. You should be able to access the app from your browser using the domain name specified in Homestead.yaml
.
Before developing, make sure that PHP, Composer, and Laravel are installed properly.
Dependencies are managed with Composer. To fetch all of them, run:
composer install
Create a .env
file in your project root. Once it's done, copy all of the contents from .env.example
into the you just created. As you can see, one variable is empty, which is the APP_KEY
variable. To generate an app key, simply run
php artisan key:generate
You can customize the .env
variables according to your needs.
See the list of contributors for this project here