<<<<<<< HEAD
- Create database
train-booking - Move to the project folder and launch a terminal instance from the root.
- On the terminal run,
composer install - Create a
.envfile by using the provided run,mv .env.example .env, this will rename the provided.env.examplefile to.env. - Edit the
.envfile adding your database connections details. - Create an MPESA app on https://developer.safaricom.co.ke/
- Filling in the MPESA config details on the .env
- Generate api key using the command,
php artisan key:generate - Run
php artisan migrate - (Optional) Fill the database with dummy data, run
php artisan db:seed. - Start server,run:
php artisan serve. - Serve the website on a secure server on ngrok or localtunnel. (Required for mpesa functionality) =======