Skip to content

andreaadinolfi/horoscopes

Repository files navigation

horoscopes

Horoscopes | CSV import

A demo project with Laravel 8 and Laravel Excel package, to import CSV file. You can import horoscopes data through a csv file (format: number | horoscope | date_of_birth | sign). You can enter the date of birth and get the list of all the daily horoscopes of the corresponding zodiac sign, paginated and sorted by date (from the most recent to the oldest).

alt-gif

How to use

Clone this project.

git clone https://github.com/andreaadinolfi/horoscopes.git

Navigate to the project folder.

cd horoscopes

Run the sh build script OR follow the next steps manually.

chmod +x ./build.sh
sh ./build.sh

Install required packages.

composer install

create new .env file and edit database credentials there.

cp .env.example .env

Generate new app key.

php artisan key:generate

Run docker containers

docker-compose up -d

optimize and clear cache

 php artisan config:cache   
 php artisan optimize:clear

Run migrations and seeders

./vendor/bin/sail artisan migrate:fresh --seed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published