done. going to bed now.

This commit is contained in:
2025-05-05 19:27:09 -04:00
commit f7567db1b9
40 changed files with 6775 additions and 0 deletions

28
README.md Normal file
View File

@@ -0,0 +1,28 @@
# Template
## Dev Environment
```shell
export PHP_IDE_CONFIG=serverName=localhost
```
```shell
docker run --rm -v $(PWD):/app siteworxpro/composer install --ignore-platform-reqs
```
```shell
docker run --rm -v $(PWD):/app siteworxpro/composer run tests:all
```
### migrations
create a new migration
```shell
docker run --rm -v $(PWD):/app siteworxpro/migrate:v4.18.3 create -ext sql -dir /app/db/migrations -seq create_users_table
```
```text
postgres://siteworxpro:password@localhost:5432/siteworxpro?sslmode=disable
```
```shell
docker run --rm -v $(PWD):/app siteworxpro/migrate:v4.18.3 -database "postgres://siteworxpro:password@localhost:5432/siteworxpro?sslmode=disable" -path /app/db/migrations up
```