Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 904 Bytes

setup.md

File metadata and controls

40 lines (34 loc) · 904 Bytes

Installation

Prerequisites

Clone the repository

git clone https://github.com/osoc16/kleinpas-api.git
cd kleinpas-api

Getting things ready

Copy the .env.example to .env and fill in the environment variables

cp .env.example .env

Resolving dependencies

composer install
composer update

Creating the database

php artisan migrate

Seeding the database

php artisan db:seed

Running the application

php artisan serve

The application should now be running on your local machine. Look at localhost in a webbrowser to see which requests can be sent to the API.