File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ LeeOvery\WordpressToLaravel\WordpressToLaravelServiceProvider::class,
2727
2828Publish the config file:
2929
30- ``` php
31- php artisan vendor:publish --provider="LeeOvery\WordpressToLaravel\WordpressToLaravelServiceProvider" --tag="config"
30+ ``` bash
31+ $ php artisan vendor:publish --provider=" LeeOvery\WordpressToLaravel\WordpressToLaravelServiceProvider" --tag=" config"
3232```
3333
3434Migrate your database to setup the posts, categories, tags & author tables:
3535
36- ``` php
37- php artisan migrate
36+ ``` bash
37+ $ php artisan migrate
3838```
3939
4040Setup the url to your WP blog in your env file:
@@ -53,8 +53,8 @@ Firstly, it's best to perform a full sync to get all your posts etc across in on
5353
5454To force sync all published posts:
5555
56- ``` php
57- php artisan wordpress-to-laravel:import -F -T
56+ ``` bash
57+ $ php artisan wordpress-to-laravel:import -F -T
5858```
5959
6060The ` -F ` flag forces all posts to be synced. The ` -T ` flag will truncate all the relevant DB tables prior to syncing.
You can’t perform that action at this time.
0 commit comments