-
Place .env file to the root dir or you can use .env.example by running cp .env.example .env (News Aggregation task scheduled commands won't work this way due to lacking the API keys to authenticate the calls)
-
Open terminal on the root dir
-
Run docker compose build --no-cache && docker compose up -d
-
docker compose exec app composer install
-
docker compose exec app php artisan key:generate
-
docker compose exec app php artisan --env=testing key:generate
-
docker compose exec app php artisan migrate:fresh --seed
-
touch database/testing.sqlite
-
docker compose exec \
-e DB_CONNECTION=sqlite \
-e DB_DATABASE=/var/www/html/database/testing.sqlite \
app php artisan test --env=testing -
docker compose exec app php artisan schedule:work (need authenticated API keys to work)
-
visit: http://localhost:7700/news for the guest news page or http://localhost:7700/api/documentation for the whole api documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Wazzup News Aggregator API
jmrecodes/wazzup-news-aggregator-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Wazzup News Aggregator API
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published