This project provides an advanced calculator for estimating resource requirements for LAMP (Linux, Apache, MySQL, PHP) and LEMP (Linux, Nginx, MySQL, PHP) stacks. It helps users determine the appropriate CPU, RAM, and storage needs based on their selected services and expected concurrent users.
- Interactive service selection for common web stack components
- Concurrent user and storage requirement inputs
- Real-time resource calculation
- Recommended configurations for common use cases
- Responsive design for desktop and mobile use
- Links to additional calculators and tutorials
- Node.js and npm (for development)
- A modern web browser
-
Clone the repository:
git clone https://github.com/MrGKanev/phpstack.git
-
Navigate to the project directory:
cd phpstack
-
Install the dependencies:
npm install
To start development, run the following command to watch for changes in the CSS:
npx tailwindcss -i ./src/input.css -o ./src/output.css --watch
To generate a minified version of the CSS for production:
npx tailwindcss -o ./src/output.css --minify
Open index.html
in a web browser to use the calculator. Select the services you need, adjust the concurrent users and storage requirements, and view the estimated resource needs.
Contributions to the PHP Stack are welcome! Here's how you can contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/YourFeature
) - Make your changes
- Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/YourFeature
) - Open a Pull Request
Please ensure your code adheres to the existing style and that you've tested your changes thoroughly.
This project is open source and available under the MIT License.
Created by Gabriel Kanev
- Tailwind CSS for the utility-first CSS framework
- Tippy.js for tooltips
- The open-source community for inspiration and resources