Cranberry Punch is an Employee Attendance Management System that allows you to easily track and manage employee attendance. With Cranberry Punch, you can quickly and easily see who is present and who is absent, as well as record and track attendance data for future reference.
To install Cranberry Punch, follow these steps:
-
Navigate to the directory where you want to install Cranberry Punch:
cd /path/to/cranberry-punch
-
Run the following command to install the required packages:
npm clean-install composer install
If you are installing Cranberry Punch for the first time, you will need to run the following additional steps:
-
Copy the example environment file and create a new
.env
file:cp .env.example .env
-
Generate an application key:
php artisan key:generate
-
Run the database migrations and seed the database with initial data:
php artisan migrate:fresh --seed
NOTE: The
migrate:fresh
command destroys all data in the database. Do not run this command in a production environment.
If you are installing Cranberry Punch in a production environment, you should use the following commands instead:
php artisan migrate
php artisan db:seed --class=InitialSetupSeeder
To export translations for the en
locale, run the following command:
php artisan translatable:export en
To start the development server, run the following command:
php artisan serve
Then, run the following command to compile the front-end assets:
npm run dev
To upgrade Filament, run the following commands:
php artisan config:clear
php artisan livewire:discover
php artisan route:clear
php artisan view:clear
php artisan storage:link
composer update
php artisan filament:upgrade
To run the Cypress test suite, run the following command:
npx cypress open