if you are in ubuntu
sudo apt-get install jpegoptim
sudo apt-get install optipng
sudo apt-get install pngquant
sudo apt-get install webp
or go to this link for other operating systems.
If you are running this on the server run
sudo pecl install excimer
for sentry integration. You can know more on sentry docs
- for the backend
composer install
- and for the frontend
npm install
You can use other like
yarn
orpnpm
if you prefer
run php artisan key:generate
- run
composer dump-autoload
. - run
touch database/database.sqlite
to create database file - run
php artisan migrate:fresh --seed
- run
php artisan import:all
- run
npm run dev
to run vite
- for the backend you can use
php artisan serve
if you are using valet or herd you can link the site and no need for
php artisan serve
- for the frontend run
npm run dev
or
yarn dev
orpnpm install
if you prefer
- run
php artisan queue:work
to enable queues in the system
you can run
php artisan queue:listen
if you want queue to be interactive with queue related changes
- run
php artisan import:all
This will not give you images because they are heavy
9. if You want to download images remove comments from the following commands from ImportAll
command
//Artisan::call(AttachCompaniesImagesCommand::class);
//$progressBar->advance();
//Artisan::call(AttachPeopleImagesCommand::class);
//$progressBar->advance();
//Artisan::call(CleanNotesFromImagesUrlCommand::class);
//$progressBar->advance();
This will download some of the companies and people images to be as close as possible to the online system
cd /PATH_TO_FOLDER/boycottisraelitech.com
git pull origin $FORGE_SITE_BRANCH
$FORGE_COMPOSER install --no-dev --no-interaction --prefer-dist
( flock -w 10 9 || exit 1
echo 'Restarting FPM...'; sudo -S service $FORGE_PHP_FPM reload ) 9>/tmp/fpmlock
if [ -f artisan ]; then
$FORGE_PHP artisan migrate --force
$FORGE_PHP artisan optimize:clear
$FORGE_PHP artisan optimize
$FORGE_PHP artisan filament:optimize-clear
$FORGE_PHP artisan filament:optimize
$FORGE_PHP artisan queue:work --stop-when-empty
npm ci
npm run build
fi
- go to todo file and pick one of the todo items and push it as a pull request
- share our links in social media
- enrich our database with your contributions especially for alternatives