This is a skeleton project for Neutomic. It is a simple project that demonstrates how to use Neutomic to build a simple web application.
To get started, clone this repository and run the following command:
compser installThis will install all the dependencies required to run the project.
To run the project, run the following command:
php src/main.php http:server:startThis will start the server on port 8080. You can access the server by visiting http://localhost:8080 in your browser.
To utilize server clustering, which dispatches multiple workers each running a server:
php src/main.php http:server:clusterThe command will dispatch n workers, where n is the number of CPU cores on your machine.
Alternatively, specify the number of workers:
php src/main.php http:server:cluster --workers=4This will start the server cluster with 4 workers, each handling incoming requests concurrently.
For more information on how to use Neutomic, please visit the Neutomic Documentation.
This project is licensed under the MIT License - see the LICENSE file for details.