Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belarif/new-todo-list
Améliorer une application existante
https://github.com/belarif/new-todo-list
codacy phpunit symfony-profiler symfony3 symfony6 unittest
Last synced: 11 days ago
JSON representation
Améliorer une application existante
- Host: GitHub
- URL: https://github.com/belarif/new-todo-list
- Owner: belarif
- Created: 2022-06-25T15:42:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-10T18:22:48.000Z (over 2 years ago)
- Last Synced: 2024-11-22T12:08:40.167Z (2 months ago)
- Topics: codacy, phpunit, symfony-profiler, symfony3, symfony6, unittest
- Language: PHP
- Homepage:
- Size: 1.81 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
## Installing the project
### 1. Tools
1.1 PHP-version >= 8.1
1.2 Composer-version >= 2.2### 2. Local project copy
Click on the "code" button at the top, then on the HTTPS section which displays the following url :
https://github.com/belarif/new-todo-list.git
copy this url to install the project locally.
If you are using the WampServer64, from your terminal, position yourself on the c:/wamp64/www path as follows :
cd c:/wamp64/www
if you use server other than WampServer64, position yourself on the path that will allow the execution of the
application.On the same path, type the following command to clone the project :
git clone https://github.com/belarif/new-todo-list.git
After executing the command, the project will be copied to the 'www' directory
### 3. Installing dependencies
composer install
### 4. Creation of the database
4.1 To adapt access to your SGBD, in the .env file configure the variable DATABASE_URL
4.2 Create your databasephp bin/console doctrine:database:create
3.3 Create your database schema:
php bin/console doctrine:migrations:migrate
### 5. Loading fixtures
php bin/console doctrine:fixtures:load
### 6. Installation of public resources
6.1 Install yarn: `npm install --global yarn`
6.2 Install encore: `yarn install`
6.3 Upload public files: `yarn build`### 7. Run application
php -S localhost:8000 -t public/
Homepage : http://localhost:8000/
Identifiants:
- username: admin1
- password: admin1### 8. Tests
#### 8.1 Generation level of code coverage
vendor/bin/phpunit --coverage-html public/test-coverage
#### 8.2 visualization of code coverage on browser
http://localhost:8000/test-coverage/index.html