Giter Site home page Giter Site logo

ghostconcepts / laravel-install-script Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fraigo/laravel-install-script

0.0 0.0 0.0 11 KB

Laravel installation and configuration script for first time

Home Page: https://fraigo.github.io/laravel-install-script/

License: MIT License

Shell 100.00%

laravel-install-script's Introduction

laravel-install-script

Laravel installation and configuration script for first time

Installation / Execution of script

bash <(curl -s https://fraigo.github.io/laravel-install-script/laravel-install.sh)

References

Installation steps

  1. Install php
  2. Install php dependencies
  3. Install composer
  4. Install laravel
  5. Create a new Laravel project
  6. Update dependencies
  7. Create environment
  8. Start local service

Installation details

Install php

sudo apt-get update
sudo apt-get install php

Install php dependencies

sudo apt-get install php-zip
sudo apt-get install php-mbstring

Install composer

sudo apt-get install composer

Install laravel

composer global require "laravel/installer"
PATH=$PATH:$HOME/.config/composer/vendor/bin
echo 'PATH=$PATH:$HOME/.config/composer/vendor/bin' >> $HOME/.bashrc

Create a new Laravel project

laravel new laravel-app
cd laravel-app

Update dependencies

composer install

Create environment

  • Create initial .env file using the template file .env.example
  • Creating a security key for the application
cp .env.example .env
php artisan key:generate

Activate debug mode (optional)

In laravel-app/.env, change APP_DEBUG to true

APP_DEBUG=true

Start local service

php artisan serve

Open local application

http://localhost:8000/

laravel-install-script's People

Contributors

fraigo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.