Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
update: README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
darkalchemy committed Feb 15, 2020
1 parent 3730c62 commit 9f3e17d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ npm is required
[Slim Whoops](https://github.com/zeuxisoo/php-slim-whoops) for displaying errors


To install:
To install with composer:
```
git clone git@github.com:darkalchemy/Slim-Auth.git
cp config/settings.example.php config/settings.php
composer create-project darkalchemy/slim-auth
```
edit settings as needed.
edit config/settings.php as needed.

Set ownership
```
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
"post-update-cmd": [
"composer dump-autoload -o"
],
"post-create-project-cmd": [
"php -r \"copy('config/settings.example.php', 'config/settins.php');\""
],
"migrate": [
"vendor/bin/phinx migrate -c config/phinx.php -e default --ansi"
],
Expand Down

0 comments on commit 9f3e17d

Please sign in to comment.