/pina-colada

PHP Coconut in Drink Form

Primary LanguagePHP

Starter App for Quintype (Laravel)

Setup Instructions

  • Follow the prerequisites for your platform (below)
  • Clone the repo and pull the libraries required. All future commands will be issued from inside this new directory.
git clone https://github.com/quintype/pina-colada.git
cd pina-colada
  • Install all external libraries
composer install # Install PHP Libraries
To install composer use command :- curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Then :- composer

npm install # Install Javascript dependencies
  • Create an environment file, and a secret key for your local machine
cp .env.example .env
php artisan key:generate

Compiling assets

In order to compile assets (javascripts and CSS), you will need to run gulp.

./node_modules/.bin/gulp

Running the app

To get the application running, run the app as follows

php artisan serve

You can now visit the site at http://localhost:8000

Prerequisites

Windows

After installing all the above, please close and reopen all terminals (or just reboot your system). All the commands above can be run in "Git BASH", when launched as Administrator.