- Clone repo to a local directory
- In a terminal, change directory into the cloned directory
- Run the command
composer install
- Run the command
cp .env.example .env
- Run the command
php artisan key:generate --ansi
- For local development, ensure you have a php/mysql implementation setup such as xampp
- In phpmyadmin create a new database called 'botman'
- Optional for local development, set a username and password
- In the laravel project, open the .env file and ensure the database variables are setup, similar to the following:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=botman
DB_USERNAME=<YOUR DB USERNAME>
DB_PASSWORD=<YOUR DB PASSWORD>
- In the terminal, run the following command
php artisan migrate
- Run the command
php artisan serve
- Open a browser and navigate to
127.0.0.1:8000