Skip to content

gayansanjeewa/pastbook-clone

Repository files navigation

Features of PastBook-Clone

  • Login with Facebook
  • Send user's Best photos from 2019 (configurable) to there email
  • Mail queue
  • Necessary Docker images to spin up the env

How to spin up PastBook-Clone

  • 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 to storage/log and storage/framework directories.

PastBook-Clone functionaries

  • Sign in with Facebook
  • Check your inbox to see mail with your best photos of 2019

Limitations PastBook-Clone

  • 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages