TRELLO-MONITOR was created to analyze and measure the quality and effectiveness with which the works are carried out within the webmapp. Both to be able to measure and analyze the works commissioned by customers
- composer version : 1.10.20
- php: 7.4.12
- MySQL: >= 8.0.0
- Laravel Version: >= 8.x
After downloading the trello-monitor project. enter the project folder with the cd trello-monitor
command. After that check that the git project is updated with the local project, then use the git pull
command. Now configure mysql by creating a new DB:
- if MySQL is not installed: Guide
- open MySQL:
mysql.server start
- enter MySQL if it does not have the password set:
mysql -u <username>
otherwisemysql -u <username> -p
- create db:
CREATE DATABASE <mydatabasename>;
set the connection to the Laravel db, open the .ENV file with ide (VS code, sublime, etc) and modify the following items as follows:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=<mydatabasename>
DB_USERNAME=<username>
DB_PASSWORD=<password>
Enable or disable registration at the link register:
- to disable the link register
DISABLE_REGISTRATION=false
in the .ENV, file then launch the commandphp artisan config:cache
to enable changes - to enable the link register
DISABLE_REGISTRATION=true
in the .ENV, file then launch the commandphp artisan config:cache
to enable changes
If you have any problem running the php artisan trello-monitor:sync
command make sure your .env file has the following values set:
TRELLO_KEY
TRELLO_TOKEN
TRELLO_BASE_URL
TRELLO_API_BASE_URL
TRELLO_BOARD_SPRINT
CUSTOMER_KEY
TRELLO_BOARDS_SPRINT
After configuring the .ENV file we can run configure and populate our DB with the following command:
php artisan migrate --seed
- otherwise to empty the DB and load the data again
php artisan migrate:fresh --seed
- finally run the command
php artisan trello-monitor:sync
which will download and save the cards on the DB locally
now possible to start trello-monitor by running the command: php artisan serve
,otherwise it is possible to use Valet
to perform these operations you must be in the trello-monitor project folder:
Cypress version supported for testing> = 6.4.0 if you don't have cypress installed, you can do it with the following command:
npm install cypress --save-dev
if already available or just installed lunch cypress:
npx cypress open
select the test or tests to run
to be able to view the test code just go trello-monitor/cypress/integration
N.B. before launching Cypress set the baseUrl in the cypress.json file if you use valet you can leave the default setting:
"baseUrl": "http://trello-monitor.test"
otherwise if you use the classic php artisan serve
command. Set the baseUrl with the following configuration:
"baseUrl": "http://127.0.0.1:8000"
Phpunit is natively supported by Laravel to launch all Feature Tests
vendor/bin/phpunit
launch the single test or single method:
vendor/bin/phpunit --filter <nomeTest>
alternatively it is possible to launch the tests also from Laravel
php artisan test
to be able to view the test code just go trello-monitor/tests/
- Alessio Piccioli - CTO - Webmapp.
- Gianmarco Gagliardi - Developer - Webmapp.
- Davide Pizzato - App Developer - Webmapp
- Marco Barbieri - Map Maker - Webmapp
- Pedram Katanchi - Web developer - Webmapp
- Antonella Puglia - UX Designer - Webmapp
This project is licensed under the MIT License - MIT license.