mwi-laravel-setup

4.0.4 • Public • Published

Introduction

This packages helps you run all the necissary commands after a fresh install of laravel using https://packagist.org/packages/mwi/laravel-kit - This package will get you up and running in your local environment in no time. This package handles composer install, npm install, .env automation, database creation, fresh migration and seeding, running of build tools, and valet link.

Note $ represents a terminal command and should not be typed out.

Install Package

$ npm i mwi-laravel-setup

Usage

$ python setup.py -h
Options:
  -h, --help            show this help message and exit
  -d, --dependencies-only
                        Only install dependencies.
  -e, --env-only        Only update .env file.
  -b, --db-only         Only create database.
  -v, --vl-only         Only link valet.
 
  -n, --new Will set up a project from scratch.

Initiate Script

$ python setup.py

.ENV File

This script will create your .env file based on your project directory which should mach your repository name.

Note This script will copy the final .env over to the .env.example. This is because we will use the example env file as the repo tracked master env file for additional api keys etc... So if you have to update your personal .env for a certain third party application please update the example file and push it to the repository.

Readme

Keywords

none

Package Sidebar

Install

npm i mwi-laravel-setup

Weekly Downloads

17

Version

4.0.4

License

ISC

Unpacked Size

11.5 kB

Total Files

6

Last publish

Collaborators

  • msolano93
  • midwestern-interactive