Skip to content

Commit 6f5f590

Browse files
authored
Merge pull request #1 from studoo-app/develop
Version 1.0.0
2 parents ecc0365 + f52b896 commit 6f5f590

File tree

9,013 files changed

+1757258
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

9,013 files changed

+1757258
-68
lines changed

.env

+12-30
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,22 @@
1-
# In all environments, the following files are loaded if they exist,
2-
# the latter taking precedence over the former:
3-
#
4-
# * .env contains default values for the environment variables needed by the app
5-
# * .env.local uncommitted file with local overrides
6-
# * .env.$APP_ENV committed environment-specific defaults
7-
# * .env.$APP_ENV.local uncommitted environment-specific overrides
8-
#
9-
# Real environment variables win over .env files.
10-
#
11-
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
12-
# https://symfony.com/doc/current/configuration/secrets.html
13-
#
14-
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
15-
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
1+
## AUTO GENERATED FILE BY TASKFILE ##
162

173
###> symfony/framework-bundle ###
184
APP_ENV=dev
19-
APP_SECRET=e6f6a651977f60f07847c51c1375b9ae
5+
APP_SECRET=EDAB3F1F990041FC93F98716111627B9
206
###< symfony/framework-bundle ###
217

8+
###> symfony/webapp-pack ###
9+
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
10+
###< symfony/webapp-pack ###
11+
2212
###> doctrine/doctrine-bundle ###
23-
# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
24-
# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
25-
#
26-
# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
27-
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8&charset=utf8mb4"
28-
DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=15&charset=utf8"
13+
DATABASE_URL="mysql://root:@127.0.0.1:3306/app_pasdebol?serverVersion=mariadb-10.5.8&charset=utf8mb4"
2914
###< doctrine/doctrine-bundle ###
3015

31-
###> symfony/messenger ###
32-
# Choose one of the transports below
33-
# MESSENGER_TRANSPORT_DSN=amqp://guest:guest@localhost:5672/%2f/messages
34-
# MESSENGER_TRANSPORT_DSN=redis://localhost:6379/messages
35-
MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
36-
###< symfony/messenger ###
37-
3816
###> symfony/mailer ###
39-
# MAILER_DSN=null://null
17+
MAILER_DSN=null://null
4018
###< symfony/mailer ###
19+
20+
TAX_RATE=0.17
21+
DECLARATION_YEAR=2023
22+
OPEN_FOR_DECLARATION=1

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/config/secrets/prod/prod.decrypt.private.php
77
/public/bundles/
88
/var/
9-
/vendor/
9+
#/vendor/
1010
###< symfony/framework-bundle ###
1111

1212
###> phpunit/phpunit ###

README.md

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
![separe](https://github.com/studoo-app/.github/blob/main/profile/studoo-banner-logo.png)
2+
# CYBER AUDIT CODE SYMFONY
3+
4+
Faire une audit de code du projet "Taxe Pasdebol"
5+
6+
### Pré-requis
7+
- [ ] Installer Docker : [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/)
8+
- [ ] Installer Docker Compose : [https://docs.docker.com/compose/install/](https://docs.docker.com/compose/install/)
9+
10+
### Optionnel :
11+
- [ ] Installer TaskFile > v3.20 : [https://taskfile.dev/installation/](https://taskfile.dev/installation/)
12+
13+
### Démarrer le projet
14+
15+
Installation et démarrage des services via docker
16+
```shell
17+
docker compose up -d
18+
```
19+
Démarrage du serveur Symfony
20+
```shell
21+
symfony serve -d
22+
```
23+
24+
Si vous avez Taskfile
25+
```
26+
task start
27+
```
28+
29+
Migration et installation des fixtures
30+
```shell
31+
symfony console d:m:m
32+
symfony console d:f:l
33+
```
34+
Une fois les services disponibles :
35+
36+
Le code à auditer est disponible sur l'URL : [http://localhost:8000](http://localhost:8000)
37+
38+
L'administrateur à la base de donnée : [http://localhost:8081](http://localhost:8081)
39+
40+
### Comptes utilisateurs
41+
42+
Administrateur
43+
```shell
44+
45+
```
46+
Entreprise
47+
```shell
48+
49+
```

0 commit comments

Comments
 (0)