You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This platform allows you to exercise your SQL skills through a simple gamification system.
3
+
The Database Playground is a platform designed to enhance your SQL skills through an engaging gamification system.
4
4
5
5
## Development
6
6
7
7
### Preparation
8
8
9
-
- Use PhpStorm for PHP and Twig development, and VS Code for TypeScript development.
10
-
-[Devenv](https://devenv.sh) provides the development environment, including pre-commit hooks, PHP, and Node.js runtimes.
11
-
-[Docker Compose](https://docs.docker.com/compose/) sets up the development runtime environment.
9
+
- Use **PhpStorm** for PHP and Twig development, and **VS Code** for TypeScript development.
10
+
-**Devenv** provides a comprehensive development environment, including pre-commit hooks and runtimes for PHP and
11
+
Node.js. Learn more at [Devenv](https://devenv.sh).
12
+
-**Docker Compose** is utilized to set up the development runtime environment. For more details, visit
13
+
the [Docker Compose documentation](https://docs.docker.com/compose/).
12
14
13
15
### Setup
14
16
15
17
1. Clone the repository.
16
18
2. Run `devenv up` to start the development environment.
17
-
3. Execute `composer install` to install the PHP dependencies.
18
-
4. Run `pnpm install` to install the Node.js dependencies. This step is optional but helpful if you prefer type declarations when developing TypeScript.
19
-
5. Start the database, Redis, and PHP runtime by running `docker compose up -d`.
20
-
6. Create an administrator user with the command: `php ./bin/console app:create-user -p "yourpassword" -r "ROLE_ADMIN" "admin" "admin@youremail.tld"`.
21
-
7. (Optional) Import the schema and questions by running `php ./bin/console app:import schema.json`.
22
-
8. Navigate to `https://localhost` to access the application. Use `https://localhost/admin` to access the admin panel.
19
+
3. Execute `composer install` to install PHP dependencies.
20
+
4. Run `pnpm install` to install Node.js dependencies, which is useful for type checking.
21
+
5. Start the database, Redis, and PHP runtime for development:
0 commit comments