Skip to content

Commit

Permalink
docs(README): updated dev info
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasfroeller committed Jan 19, 2024
1 parent 579d92f commit 47d76f2
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_URL=http://localhost # http://localhost/propromo/public # http://propromo.test

LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
Expand All @@ -12,8 +12,8 @@ DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=propromo
DB_USERNAME=postgres
DB_PASSWORD=
DB_USERNAME=propromo
DB_PASSWORD=propromo

BROADCAST_DRIVER=log
CACHE_DRIVER=file
Expand Down
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,33 @@

> Your client wants to be involved. [Propromo](https://propromo.duckdns.org) makes it possible.
## Deployment
## Development

### Dependencies
```bash
start.sh
```

```batch
start.cmd
```

### Database
```bash
docker-compose -f postgres.yml up -d
```

### Website
```bash
php artisan serve --port=80
```

### Testing
```bash
php ./vendor/bin/pest
```

## Production

**Deployment URL:** https://propromo-d08144c627d3.herokuapp.com

Expand Down
12 changes: 12 additions & 0 deletions postgres.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3.8'

services:
postgres:
image: postgres:latest
container_name: propromo-postgres
environment:
POSTGRES_DB: propromo
POSTGRES_USER: propromo
POSTGRES_PASSWORD: propromo
ports:
- "5432:5432"

0 comments on commit 47d76f2

Please sign in to comment.