Skip to content

jfrmm/collections

Repository files navigation

Collections

This is the API for a tool that helps manage a collection of items. It has been developed using Laravel.

Table of Contents

Getting started

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

Configure Homestead

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.

Configure .env

Set your .env as the following, in the appropriate lines

APP_NAME=Collections
DB_DATABASE=collections

Install

Start with a package dependency check and installation

composer install

The installer for Composer can be found here.

Migrate and seed

Then start building the DB with some test data, just run

php artisan migrate --seed

Troubleshooting

App responses are very slow

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

Built with

References

Build Status Total Downloads Latest Stable Version License

License

The Laravel framework is open-sourced software licensed under the MIT license.

Copyright © 2018, JFRMM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages