https://github.com/thecodingmachine/security-playground
https://github.com/thecodingmachine/security-playground
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thecodingmachine/security-playground
- Owner: thecodingmachine
- License: apache-2.0
- Created: 2023-03-09T07:27:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T18:00:32.000Z (about 2 years ago)
- Last Synced: 2025-02-16T12:30:29.436Z (about 1 year ago)
- Language: PHP
- Size: 2.88 MB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# security-playground
## Prerequisites
Install Docker & docker-compose on your own following these links :
* Docker: [Get Docker](https://docs.docker.com/engine/installation)
* docker-compose: [Install Docker Compose](https://docs.docker.com/compose/install)
## Setting up the environment
Start by cloning this repository.
Then copy the file `.env.dist` to a file named `.env`. For instance:
```bash
cp .env.dist .env
```
**Next, make sure that there is no application running on port 80**, then start all the Docker containers with the
following commands:
```bash
docker-compose up -d
```
Enter your web container with docker exec :
```bash
docker exec -ti app bash
```
Install dependencies :
```bash
composer install
```
Install front dependencies :
```bash
npm install
```
Run migrations :
```bash
bin/console doctrine:migration:migrate
```
Run fixtures :
```bash
bin/console doctrine:fixtures:load
```