Thank you for your interest in contributing to this project! Here are some guidelines to get you started.
The easiest way to get started is to use Docker with Docker Compose.
This project has a compose.yaml
file which will set up a development environment for you.
- Clone this repository
- Clone the Basic_Framework repository
- TODO: Simplify this step
- Copy
config.example.ini
toconfig.ini
- Run
docker compose up
- Navigate to
phpshell.localhost
For live evaluation we use php-wasm
.
When a user press the eval();
button we will:
- Persist the code in the database (in the
input
andinput_src
tables) - Schedule the code to be executed by the daemon
- The daemon will execute the code and store the output in the database (in the
result
andoutput
tables) - The user will be redirected to the output page
This file is useful to configure the application.
This file is useful to configure the daemon. In the compose file we run the daemon directly so we do not need the service.