Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sten committed Sep 5, 2022
1 parent f5d0728 commit 5e8686a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,16 @@ You can configure a specific survey with the flag `--survey=22333`.
If you want to reimport all survey responses you can wipe the SurveyQuestions and SurveyAnswers by using the
flag `--fresh`.

### Generate configuration question mapping

You can generate the `question_mapping` variable for the configuration file. The command generates `surveyhero_mapping.php`
in the project root. This file contains the PHP array that you can copy-paste into your configuration file and further
adjust there. You can use this as a starting point to create the question mapping. Run:

```shell
php artisan surveyhero:map
```

## Ideas for future improvements

- Add more default indices to the migration.
Expand All @@ -295,7 +305,7 @@ flag `--fresh`.

## Testing

Currently, no tests are implemented.
Currently, no tests are implemented :-(.

```bash
composer test
Expand All @@ -312,6 +322,8 @@ You can post an issue and provide a pull request. Thanks!
## Credits

- [Sten Govaerts](https://github.com/sten)
- [Robbe Reygel](https://github.com/RobbeStatik)
- [Marie Drieghe](https://github.com/madriegh)
- [All Contributors](https://github.com/statikbe/laravel-surveyhero/graphs/contributors)

## License
Expand Down

0 comments on commit 5e8686a

Please sign in to comment.