Skip to content

Commit

Permalink
Merge pull request #57 from michalmytych/bachelor
Browse files Browse the repository at this point in the history
Update readme
  • Loading branch information
michalmytych authored Dec 28, 2023
2 parents ec3f44a + 17ebb70 commit 4fdaaef
Showing 1 changed file with 1 addition and 42 deletions.
43 changes: 1 addition & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,48 +11,7 @@ composer install
php artisan moneypenny:setup-app
```

### Setup with Sail
__Start Laravel Sail containers__
```bash
# First start docker, then:
./vendor/bin/sail up -d
```

__Migrate database__
```bash
# (In docker php app container shell)
php artisan migrate
```

__Seed database__
```bash
# (In docker php app container shell)
# Seed database
php artisan db:seed
# Create users personal accounts
php artisan moneypenny:create-users-personal-accounts
```

__Build & hot-reload Blade frontend__
```bash
# (In docker php app container shell)
npm run dev
```

__Setup tests__
```bash
# Copy .env.test.example config and change it
# accordingly to your local setup
cp .env.testing.example .env.testing
# In newly created .env.testing replace APP_ENV value with "testing"
APP_ENV=testing
# Clear config cache
php artisan config:cache --env=testing
# Run tests
php artisan test
```

__Other useful commands__
__Useful commands__
```
Available commands for the "moneypenny" namespace:
moneypenny:associate-personas Create personas associations for all transactions.
Expand Down

0 comments on commit 4fdaaef

Please sign in to comment.