Skip to content

Instantly share code, notes, and snippets.

@devMattO
Last active April 20, 2018 23:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devMattO/a7dce3f0687cb9eeac9c22b762cd00d2 to your computer and use it in GitHub Desktop.
Save devMattO/a7dce3f0687cb9eeac9c22b762cd00d2 to your computer and use it in GitHub Desktop.
NEP Installfest

NEP Installfest

  1. Create directory on Desktop & move into that directory

    • cd Desktop
    • mkdir new_project
    • cd new_project
  2. Install Composer

    • curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer Then,
    • composer self-update (This ensures you always have the most current stable version)
  3. Install Homebrew (If you do not have it installed)

    • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  4. Install Yarn

    • brew install yarn
  5. Install Dependencies

    • composer install
    • yarn install
  6. Install Laravel / Create New Project

    • composer create-project laravel/laravel --prefer-dist
  7. Run using local dev server

    • php artisan serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment