The present repo is a clone of the source code for "Build a Voting App" series on Laracasts: https://laracasts.com/series/build-a-voting-app. This great project is used to measure the performance of different computers with the goal of finding the ideal and most efficient laptop for PHP Web Developers.
You need Docker Desktop or Docker with docker-compose already installed and running for the following steps to work. It's important that the benchmarks are run in a Docker environment because most modern web development is done like this.
- Clone this repo (laravel_docker_benchmark) and
cdinto it - Rename or copy
.env.examplefile to.env chmod +x ./build.sh./build.sh./sail up -d./sail artisan key:generate./sail artisan migrate./sail npm install./sail npm run dev
./sail artisan db:seedTake note of the time reported at the end (it's seconds)./sail artisan testTake note of the time reported at the end
- Visit
http://localhostin your browser if you're curious about the app itself.