Skip to content

Latest commit

 

History

History
105 lines (63 loc) · 2.42 KB

README.md

File metadata and controls

105 lines (63 loc) · 2.42 KB

NewsAggregatorApp

Welcome to NewsAggregatorApp project! This guide will walk you through the steps to get the project up and running on your local environment.

Check https://newsaggregator.app for the live demo.

Main Picture

Telegram Bot

Requirements

Before you begin, make sure you have the following software installed:

Installation

  1. Clone the repository:

    git clone https://github.com/shakkurcwb/NewsAggregatorApp
  2. Navigate to project repository:

    cd NewsAggregatorApp
  3. Install PHP dependencies:

    composer install
  4. Create a copy of the .env.example file and rename it to .env.

  5. Update the database and other configuration settings in this file.

  • For SQLite, simple use DB_CONNECTION=sqlite and create a blank file on database/database.sqlite.

  • For more database engines, please check the Laravel Docs.

  1. Run database migrations to set up the database schema:

    php artisan migrate
  2. (Optional) Seed the database with sample data:

    php artisan db:seed
  3. Start the development server:

    php artisan serve
  4. (Optional) Pull the latest news using the console command:

    php artisan rss:collect
  5. (Optional) Reply to Telegram messages using the console command:

    php artisan telegram:handler
  6. (Optional) Or run the development task scheduler worker (includes both commands - see more on app\Console\Kernel.php):

    php artisan schedule:work

Now you should be able to access the project by visiting http://localhost:8000 in your web browser.

Additional Information

Make sure to consult the official Laravel documentation for more in-depth information on various aspects of the framework.

If you encounter any issues during the installation process, feel free to reach out to contact me or create an issue.

Happy coding!

License

This project is licensed under the MIT License.

More Pictures

Picture 1

Picture 2

Picture 3

Picture 6