This is a simple IP Management project.
Email: jaggy@humans.ph Password: password
To set it up locally, you must have the following installed:
- PHP 8.1 or higher
- Node 20 or higher
- MySQL 8
If you have everything installed, you can run a setup script to get the project set up in your machine.
sh scripts/setup.sh
If you're using Valet or Herd, you can visit the project via [project-name].test. You can also start a server by running php artisan serve
.
mysql -uroot -e "create database ip_management if not exists";
Copy the .env.example
file to .env
.
cp .env.example .env
Update the .env
file with your database config.
composer install
npm ci
npm run build
php artisan migrate --seed
If you're using Valet or Herd, you can visit the project via [project-name].test.
If you not, you can start your server by running php artisan serve
.
To run the test suite, make sure your phpunit.xml
has the database configured properly.
php artisan test --parallel