Skip to content

Commit 1b02f0e

Browse files
authored
added --prefer-source to composer require
1 parent 9f990b0 commit 1b02f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Allows you to export JSON files of your most important data (questions, answers,
66
1. I think this project requires PHP 7.3 or later, so be sure that your system complies.
77
1. Sign up at https://stackapps.com/apps/oauth/register to receive a Client ID, Client Secret, and Key. (It's free, easy, and fast.)
88
1. Create a Laravel project, and make sure that it works: https://laravel.com/docs/5.8/installation#installing-laravel
9-
1. Add this package into your Laravel project: `vagrant@vboxHomestead:~/Code/MyLaravelProject$ composer require ryancwalsh/stack-exchange-backup-laravel:dev-master`
9+
1. Add this package into your Laravel project: `vagrant@vboxHomestead:~/Code/MyLaravelProject$ composer require ryancwalsh/stack-exchange-backup-laravel:dev-master --prefer-source`
1010
1. Run `php artisan vendor:publish`, and if it gives you a choice, choose to publish from this package.
1111
1. Edit your Laravel project's `.env` file to have your own StackApps values. A non-working sample is below.
1212
1. Run `php artisan exportStackExchange`. (Note that `php artisan exportStackExchange --flushCache` is an available option to clear the cached access code value.)

0 commit comments

Comments
 (0)