1. Install PHP
2. Install Composer
git clone git@github.com:abrishk26/tip-top.git
cd tip-topcomposer install-
Copy
.env.exampleto.env:cp .env.example .env
-
Open
.envin your editor:// chapa configuration CHAPA_KEY="<your-chapa-api-key>" // cloudinary configuration CLOUDINARY_KEY="<api-key>" CLOUDINARY_SECRET="<secret_key>" CLOUDINARY_CLOUD_NAME="<cloud_name>" CLOUDINARY_URL="<cloudinary_url>" // email service configuration RESEND_KEY="<your_email_service_api_key>" // note this example uses resend, you can change to other providers // frontend url includeing port FRONTEND_URL=<url:port> // database configuration DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_db_username DB_PASSWORD=your_db_password
Make sure the database exists before running migrations. You can create it with:
mysql -u your_db_username -p
CREATE DATABASE your_database_name;php artisan migratephp artisan serveYour Laravel project should now be running at
http://127.0.0.1:8000.