Skip to content

Commit

Permalink
update connector dep version
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Bohollo Sáez committed Jun 27, 2022
1 parent d22c999 commit 4125188
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
],
"require" : {
"omatech/editora-laravel-connector-dbinterface": "^2.1",
"omatech/editora-laravel-connector-dbinterface": "^3.0",
"skagarwal/google-places-api": "^2.0"
},
"autoload": {
Expand Down
22 changes: 9 additions & 13 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Create the new laravel empty project

```
composer create-project --prefer-dist laravel/laravel editora-test "8.*"
composer create-project --prefer-dist laravel/laravel editora-test
```

### Setup you .env file with database connection and so on
Expand All @@ -15,14 +15,8 @@ composer create-project --prefer-dist laravel/laravel editora-test "8.*"
```
"name": "editora-test",
"description": "Editora Frontend",
"minimum-stability": "dev",
"prefer-stable": true,
```

### Add in require section the editora-laravel-connector-dbinterface:

```
"omatech/editora": "^6.2"
"minimum-stability": "dev",
"prefer-stable": true,
```

### Do a composer update
Expand All @@ -31,9 +25,6 @@ composer create-project --prefer-dist laravel/laravel editora-test "8.*"
composer update
```

### Add a new Provider in config/app.php file
Omatech\Editora\Connector\ConnectorServiceProvider::class,

### Publish the new vendor, run:

```
Expand All @@ -42,7 +33,12 @@ php artisan vendor:publish --provider=Omatech\Editora\EditoraServiceProvider
php artisan vendor:publish --tag=editora-publish
```

### Remove default route in routes/web.php
### Add editora routes in routes/web.php
```
use Omatech\Editora\Connector\Editora;
Editora::routes();
```

### In config folder there're the two files needed for editora setup editora.php sets the language and different editora options editoradatabase.php sets the editora structure

Expand Down

0 comments on commit 4125188

Please sign in to comment.