https://github.com/sensorario/tdd-starter-kit
https://github.com/sensorario/tdd-starter-kit
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sensorario/tdd-starter-kit
- Owner: sensorario
- Created: 2022-09-30T00:32:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-16T11:45:54.000Z (over 1 year ago)
- Last Synced: 2025-03-25T10:11:10.795Z (about 1 year ago)
- Language: PHP
- Size: 43 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Tdd Starter Kit
## curl
```terminal
curl -L https://github.com/sensorario/tdd-starter-kit/archive/main.zip | tar xz ; mv tdd-starter-kit-main ; cd ; php init.php
```
## wget
```terminal
wget https://github.com/sensorario/tdd-starter-kit/archive/main.zip -O main.zip && unzip main.zip && mv tdd-starter-kit-main avocado && cd avocado && php init.php
```
## Init
Run a script that choose a free port number to configur docker-compose.yml file.
```terminal
php init.php
```
## Start
After the download run `make up`. After a while everything will be ready and all php dependencies installed.
## Test automation
Run the command `./bin/robo watch:code` to run tests everytime some php code inside src and tests folder change.
## Lumen
```terminal
rm -rf public
composer create-project --prefer-dist laravel/lumen && cp -r lumen/** . && rm -rf lumen
```