This was a school project where I had to make a website using Laravel.
Before you begin, ensure you have met the following requirements:
-
Clone the repository:
git clone https://github.com/IsmailYaman/easy-astronomy.git
-
Change into the project directory:
cd your-repo
-
Install PHP dependencies using Composer:
composer install
-
Generate application key:
php artisan key:generate
-
Configure your database connection in the .env file:
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=your_database_name DB_USERNAME=your_database_username DB_PASSWORD=your_database_password
or
duplicate the
.env.example
file and rename it to.env
. After that, configure the database connection. -
Migrate the database:
php artisan migrate
- Run the development server:
php artisan serve