- Login with Facebook
- Send user's Best photos from 2019 (configurable) to there email
- Mail queue
- Necessary Docker images to spin up the env
- Clone the app
git clone [email protected]:gayansanjeewa/pastbook-clone.git
- Spin up containers
cd pastbook-clone
docker-compose up -d
docker-compose ps
- Install dependencies
docker-compose exec app composer install
- Create
.env
from.env.example
and generate app key.
cp .env.example .env
docker-compose exec app php artisan key:generate
- Fill env specific info and clear cache. Specially supply mail configurations, other once are pre-filled.
docker-compose exec app php artisan cache:clear
- Run migrations
docker-compose exec app php artisan migrate
- Hit http://localhost:8080 and the site should be working
- Additionally, you might want to give
777
permissions tostorage/log
andstorage/framework
directories.
- Sign in with Facebook
- Check your inbox to see mail with your best photos of 2019
- Queue worker - Supervisord - is in development. So you have to do it manually
docker-compose exec app php artisan queue:work
- Search query needs to be improved. For the moment there's no logic to determine the "Best" photos. For the moment it's a generic query.