Skip to content

Latest commit

 

History

History
64 lines (47 loc) · 2.44 KB

README.md

File metadata and controls

64 lines (47 loc) · 2.44 KB

Laravel Logo

Homepage Screenshot

Table of Contents

README

This repository contains code written in Laravel. Below are instructions on how to set up and run the Laravel project.

Prerequisites

  • PHP (recommended version: 7.4 or higher)
  • Composer
  • MySQL or any other compatible database server
  • Node.js and npm (for frontend assets compilation, optional)

Installation

  1. Clone this repository to your local machine:
  2. git clone https://github.com/your-username/your-repository.git
  3. Navigate to the project directory:
  4. cd your-repository
  5. Install Composer:
  6. composer install
  7. Generate your own .env file:
  8. cp .env.example .env
  9. Genereate key for APP_KEY:
  10. php artisan key:generate
  11. Migrate your tables to database:
  12. php artisan migrate
  13. Add your WeatherAPI Key at .env
  14. OPENWEATHERMAP_API_KEY=your_key

Running the Application

To run the Laravel application locally, execute the following command:

php artisan serve

This will start a development server. You can access the application in your web browser at http://localhost:8000.

Additional Notes

  • Make sure your web server (e.g., Apache, Nginx) is properly configured to serve the Laravel application if you're not using the built-in development server.
  • Ensure that appropriate file permissions are set, especially for storage and bootstrap/cache directories.
  • For advanced usage and deployment considerations, please refer to the official Laravel documentation.

Contributing

If you wish to contribute to this project, please fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License.