WikiPoli is a ...
- Clone the repo.
- composer install
- copy .env.example to .env .
- Add the database details to the .env.
- php artisan key:generate
- php artisan config:cache
- php artisan migrate
- php artisan serve
- composer update
- php artisan migrate:fresh --seed
- php artisan passport:install
- php artisan serve
- composer require spatie/laravel-searchable
- php artisan migrate
- composer require intervention/image
sudo chown -R www-data:www-data /var/www/wikipoli.gq/WikiPoli-backend-beta/storage
sudo chown -R www-data:www-data /var/www/wikipoli.gq/WikiPoli-backend-beta/bootstrap/cache
sudo chown -R www-data:www-data /var/www/wikipoli.gq/WikiPoli-backend-beta/public/uploads/avatar
sudo chown -R www-data:www-data /var/www/wikipoli.gq/WikiPoli-backend-beta/public/politician/photos