https://github.com/sheitak/cda-prepa-app
[...]
https://github.com/sheitak/cda-prepa-app
Last synced: 8 months ago
JSON representation
[...]
- Host: GitHub
- URL: https://github.com/sheitak/cda-prepa-app
- Owner: Sheitak
- License: mit
- Created: 2020-07-10T15:24:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-10T15:25:50.000Z (almost 6 years ago)
- Last Synced: 2025-10-12T08:33:08.869Z (8 months ago)
- Language: PHP
- Size: 167 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CDA Prepa App
---
# Project installation
## 1. Configure your environment
- Duplicate ".env" file and rename the duplicated file ".env.local"
- Customize the DATABASE_URL variable.
(Replace user & password in the example below)
```
DATABASE_URL=mysql://:@127.0.0.1:3306/bewved?serverVersion=5.7
```
## 2. Install PHP dependencies
```
composer install
```
## 3. Import the datas
- Remove existing database
```
php bin/console doctrine:database:drop --force
```
- Create new database
```
php bin/console doctrine:database:create
```
- Import the database
```
php bin/console doctrine:database:import bewved.sql
```
- Migration database
```
php bin/console make:migration
```
```
php bin/console doctrine:migration:migrate
```
- Load fixtures for test situation
```
php bin/console doctrine:fixtures:load
```
- For reset id number
```
php bin/console doctrine:fixtures:load --purge-with-truncate
```
## 4. Install JS dependencies
```
yarn install
```
## 5. Build Webpack JS & CSS source files
```
yarn dev
```
## 6. Start dev server
```
symfony server:start
```