You need to have docker and docker compose on your system already installed.
Copy .env.example file into newly created .env.
Choose 127.0.0.1 rssfeeder.loc and add it to /etc/hosts file on your OS (Tested on: Ubuntu 22.04, Ubuntu 20.04)
Default domain for the website is: http://rssfeeder.loc:8082/
- Change
server_namein./docker/nginx/rssfeeder.conftoYour_Domain. - Run
docker compose up -dfor v2+ docker-compose ordocker-compose up -dfor others from./docker/directory. - Then run some commands in PHP (php) container. The container is accessed by
docker exec -ti php bashcommand. P.s. sammy is default user. - In the PHP container you will be on root (/) directory of your project. And firstly run
composer install. Secondly runphp artisan key:generatefor generationAPP_KEYvariable in the.envfile. Next runphp artisan migrate. - To generate Swagger api documentation run
php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"after thatphp artisan l5-swagger:generate, url for api documentationhttp://rssfeeder.loc:8082/api/documentation#/ - to install cron job
crontab -eand past this* * * * * /usr/bin/php /home/viktor/PhpstormProjects/RSSFeeder/artisan fetch:rss-feed 2>&1 | grep -v "Ran jobs by schedule" >> /home/viktor/PhpstormProjects/RSSFeeder/storage/logs/cron.log - Congrats, you have installed the project.
docker compose run --rm npm run build - to build Vue.js.
docker compose run --rm npm install - to install all packages.
docker compose run --rm npm run dev - to run in develop mode without build (seems like not working).
- Nginx: 1.24.0-alpine
- PHP: 8.3.3
- NPM: 10.5.0
- MariaDB: 11.3.2
- Composer: 2.7.1
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.
You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
The Laravel framework is open-sourced software licensed under the MIT license.