PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Okanlawon Anuoluwapo   News Aggregator Backend   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: News Aggregator Backend
Aggregate news from sites that provide RSS feeds
Author: By
Last change:
Date: 2 days ago
Size: 744 bytes
 

Contents

Class file image Download

About News Aggregator Backend

cd backend

This buid and start the container

docker-compose up --build

Start up the container and migrate the database tables

docker-compose up -d
docker exec -it laravel-app php artisan migrate

Run the scrape news command to save data locally

docker exec -it laravel-app php artisan scrape:news

container name: laravel-container

If you're running the container without Docker Compose, you can specify the name using the --name flag like this:

docker run --name laravel-container -p 8000:9000 laravel-app

To check the container running

docker ps

Access the Backend via localhost:8080 Public view:

docker pull anuthedeveloper/laravel-app:v1