if you are in ubuntu
```bash
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.
- 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
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
- 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