You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65-15Lines changed: 65 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,68 @@
1
1
# StackExchangeBackupLaravel
2
-
Allows you to export JSON files of your most important data (questions, answers, comments, favorites) from each of your Stack Exchange sites (Stack Overflow, Super User, Server Fault, etc).
2
+
3
+
Allows you to export JSON files of your most important data (questions,
4
+
answers, comments, favorites) from each of your Stack Exchange sites (Stack
5
+
Overflow, Super User, Server Fault, etc).
3
6
4
7
## Installation
5
8
6
-
1. I think this project requires PHP 7.3 or later, so be sure that your system complies.
7
-
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.)
8
-
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 --prefer-source`
10
-
1. Run `php artisan vendor:publish`, and if it gives you a choice, choose to publish from this package.
11
-
1. Edit your Laravel project's `.env` file to have your own StackApps values. A non-working sample is below.
12
-
1. Run `php artisan exportStackExchange`. (Note that `php artisan exportStackExchange --flushCache` is an available option to clear the cached access code value.)
13
-
1. Following the instructions in the terminal, you'll use your browser to visit a URL that will provide you with a temporary access token to paste into the terminal.
14
-
1. Finished! The JSON files will appear in your `/storage/app/StackExchange` folder.
9
+
There is no need to clone this repository, the installation works with _PHP
10
+
composer_. It will install the _Laravel_ framework and add this project to the
11
+
app.
12
+
13
+
1. This is only tested on PHP 7.3, so be sure that your system complies.
14
+
15
+
1. Sign up at https://stackapps.com/apps/oauth/register to receive a Client
16
+
ID, Client Secret, and Key. (It's free, easy, and fast.)
17
+
18
+
1. Create a [Laravel project](https://laravel.com/docs/5.8/installation#installing-laravel)
**This is the first package that I've ever made, and I'm super curious if anyone will ever use it. If you do try it out, I'd love for you to [open an issue](https://github.com/ryancwalsh/StackExchangeBackupLaravelPHP/issues/new) to say hi** (and of course to tell me any suggestions you have).
75
+
**This is the first package that I've ever made, and I'm super curious if anyone
76
+
will ever use it. If you do try it out, I'd love for you to [open an
to say hi** (and of course to tell me any suggestions you have).
31
79
32
80
___
33
81
34
82
### If You Want To Get Creative...
35
-
Visit https://api.stackexchange.com/docs to read the docs, and you can modify `ExportStackExchangeHelper.php` to do whatever you want. The Stack Exchange API is great.
83
+
Visit https://api.stackexchange.com/docs to read the docs, and you can modify
84
+
`ExportStackExchangeHelper.php` to do whatever you want. The Stack Exchange API
0 commit comments