Setup local development
Setup local development
These are the steps required to setup the local development.
ProFresh is a Laravel application. That means it requires this setup:
PHP 8.1 or newer
Web server (e.g., Laravel Valet, Nginx, or
php artisan serve
)Composer
MySQL (or SQLite)
You can find more details on the Laravel documentation website.
Here are the steps that we suggest you to follow:
Install PHP and a web server like Nginx. If you are on macOS, we recommend Valet.
Install SQLite or MySQL.
composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
npm install --frozen-lockfile
cp .env.example .env
and configure.env
filephp artisan key:generate --no-interaction
(generates APP_KEY)
Optional: generate dummy data
php artisan db:seed
npm build
to generate the proper JS and CSS filesphp artisan serve and head to your browser Visit
http://localhost:8000
to start using ProFresh locally.🔑 Environment ConfigurationProFresh supports several third-party services for a full feature set (e.g., Mail, SMS, Social Login, Amazon S3, Zoom). For local development, these are optional — but if you want to use them:
Configure their API keys in your
.env
fileRefer to the
.env.example
for all available optionsYou can skip unneeded services by leaving their
.env
keys empty during development
Last updated