The GreenLight Development Kit is a full Laravel project including everything you need to start working on GreenLight. Therefore the installation process of the project is similar to what any new Laravel project would have.
For this version of GreenLight, make sure you check the 1.x branch out after cloning the repository.
https://github.com/greenroomgit/greenlight-devkit.git
composer install
(needs composer to be installed)php artisan key:generate
from command line (project root, generates a key for the .env file)php artisan migrate --seed
(project root, creates tables and foreign connections and imports starting seed
data)composer dump-autoload
in case of migrate error, then migrate againphp artisan storage:link
(setting up uploads)Run php artisan serve
for serving the project on localhost.
By default the HTTP-server will listen to port 8000. However if that port is already in use or you wish to serve multiple applications this way, you might want to specify what port to use. Just add the --port argument:
php artisan serve --port=8080
That would result your project being hosted on http://localhost:8080.