This is the API for a tool that helps manage a collection of items. It has been developed using Laravel.
The following instructions are guidelines for a development environment based on Homestead. Of course these are not mandatory, and you should use whatever setup you find yourself comfortable with
Then, in your Homestead.yaml, name the database as collections
databases:
- collections
If you don't have Homestead in your system yet, please follow the steps indicated here in this section.
Set your .env
as the following, in the appropriate lines
APP_NAME=Collections
DB_DATABASE=collections
Start with a package dependency check and installation
composer install
The installer for Composer can be found here.
Then start building the DB with some test data, just run
php artisan migrate --seed
If you are running Windows and are using Homestead, enabling NFS support may help. The instructions below were tested with VirtualBox 5.2.22, Vagrant 2.2.2 and laravel/homestead v7.18.0
Add these lines to your folders
mapping in c:\path\to\Homestead\Homestead.yaml
:
type: "nfs"
mount_options: ['nolock,vers=3,udp,noatime']
Then install this plugin in your box
vagrant plugin install vagrant-winnfsd
If your box was already up, you should restart and provision it (it will destroy your databases!)
vagrant reload --provision
The Laravel framework is open-sourced software licensed under the MIT license.
Copyright © 2018, JFRMM