This will be the central repo for the Booconnect App.
For this setup directions, I'll asume that you have NodeJS and PHP 7.* already setup and configured.
-
For now, clone this repo on your local machine and copy the .env.example to .env
-
Generate the application key.
php artisan key:generate
- Setup the database in the '.env' file. Replace the database configuration data with your local database specific configuration data.
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
- Run the database migration command.
php artisan migrate
- Compile the frontend assets: Note: To compile the frontend assets, first ensure that npm is installed on your local machine. I'll assume you have it installed.
Install dependencies using NPM
npm install;
Compile assets
npm run dev;
- Run tests. If it's all green, then you are right on track.
composer test