A twitter clone made with Laravel
First install composer. Then, run:
composer global require laravel/installer
laravel new example-app
cd example-app
php artisan serve
Copy the .env.example file to a .env file within the example-app directory. What the tilda is depends on where you saved the file.
cp ~/example-app/.env.example ~/example-app/.env
Change the .env file to fit your specific configuration. (I.e. local SQL database username, password, etc...)
DB_CONNECTION=mysql (You can change this to PostgreSQL or any other preferred DBMS)
DB_HOST=127.0.0.1 (This is localhost, but you cant change it if you want)
DB_PORT=3306(You can change this to your port of preference)
DB_DATABASE=tweetyreety
DB_USERNAME="YourSQLDBUsername"
DB_PASSWORD="YourSQLDBPassword"
Make the new example-app your current directory, then run:
php artisan migrate