Skip to content

Commit

Permalink
updating a few seeders and other content
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Apr 2, 2021
1 parent 2812769 commit 0747565
Show file tree
Hide file tree
Showing 7 changed files with 73 additions and 44 deletions.
3 changes: 0 additions & 3 deletions config/wave.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,8 @@
'user_model' => App\User::class,
'show_docs' => env('WAVE_DOCS', true),
'demo' => env('WAVE_DEMO', false),

'dev_bar' => env('WAVE_BAR', false),

'billing' => 'stripe',

'paddle' => [
'vendor' => env('PADDLE_VENDOR_ID', ''),
'auth_code' => env('PADDLE_VENDOR_AUTH_CODE', ''),
Expand Down
35 changes: 12 additions & 23 deletions database/seeders/SettingsTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,6 @@ public function run()
'group' => 'Site',
),
3 =>
array (
'id' => 5,
'key' => 'admin.bg_image',
'display_name' => 'Admin Background Image',
'value' => 'settings/March2020/u7EDIzZ1aBFm63xgATzW.jpg',
'details' => '',
'type' => 'image',
'order' => 5,
'group' => 'Admin',
),
4 =>
array (
'id' => 6,
'key' => 'admin.title',
Expand All @@ -74,7 +63,7 @@ public function run()
'order' => 1,
'group' => 'Admin',
),
5 =>
4 =>
array (
'id' => 7,
'key' => 'admin.description',
Expand All @@ -85,7 +74,7 @@ public function run()
'order' => 2,
'group' => 'Admin',
),
6 =>
5 =>
array (
'id' => 8,
'key' => 'admin.loader',
Expand All @@ -96,18 +85,18 @@ public function run()
'order' => 3,
'group' => 'Admin',
),
7 =>
6 =>
array (
'id' => 9,
'key' => 'admin.icon_image',
'display_name' => 'Admin Icon Image',
'value' => '',
'value' => 'settings/April2021/QRE8zirmrnAAoKT706hp.png',
'details' => '',
'type' => 'image',
'order' => 4,
'group' => 'Admin',
),
8 =>
7 =>
array (
'id' => 10,
'key' => 'admin.google_analytics_client_id',
Expand All @@ -118,7 +107,7 @@ public function run()
'order' => 1,
'group' => 'Admin',
),
9 =>
8 =>
array (
'id' => 11,
'key' => 'site.favicon',
Expand All @@ -129,7 +118,7 @@ public function run()
'order' => 6,
'group' => 'Site',
),
10 =>
9 =>
array (
'id' => 12,
'key' => 'auth.dashboard_redirect',
Expand All @@ -140,7 +129,7 @@ public function run()
'order' => 7,
'group' => 'Auth',
),
11 =>
10 =>
array (
'id' => 13,
'key' => 'auth.email_or_username',
Expand All @@ -157,7 +146,7 @@ public function run()
'order' => 8,
'group' => 'Auth',
),
12 =>
11 =>
array (
'id' => 14,
'key' => 'auth.username_in_registration',
Expand All @@ -174,7 +163,7 @@ public function run()
'order' => 9,
'group' => 'Auth',
),
13 =>
12 =>
array (
'id' => 15,
'key' => 'auth.verify_email',
Expand All @@ -185,7 +174,7 @@ public function run()
'order' => 10,
'group' => 'Auth',
),
14 =>
13 =>
array (
'id' => 16,
'key' => 'billing.card_upfront',
Expand All @@ -200,7 +189,7 @@ public function run()
'order' => 11,
'group' => 'Billing',
),
15 =>
14 =>
array (
'id' => 17,
'key' => 'billing.trial_days',
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions wave/docs/assets/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,22 @@ html, body {
.prose pre{
background:#1e1b47;
}
.prose p code{
font-size: 15px;
color: #3c4257;
font-weight: 500;
padding: 1px 2px;
background: #f8fafc;
border: 1px solid #e3e8ee;
border-radius: 4px;
&::before, &::after{
content:"";
}
}

.prose blockquote p{
&::before, &::after{
content: "";
}
}
}
18 changes: 18 additions & 0 deletions wave/docs/assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -34470,6 +34470,24 @@ html, body {
background: #1e1b47;
}

.docs .prose p code {
font-size: 15px;
color: #3c4257;
font-weight: 500;
padding: 1px 2px;
background: #f8fafc;
border: 1px solid #e3e8ee;
border-radius: 4px;
}

.docs .prose p code::before, .docs .prose p code::after {
content: "";
}

.docs .prose blockquote p::before, .docs .prose blockquote p::after {
content: "";
}

@media (min-width: 640px) {
.sm\:container {
width: 100%;
Expand Down
42 changes: 25 additions & 17 deletions wave/docs/configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

Wave has many configs to help you customize and build your SAAS app!

Wave is also built on top of Voyager, so all the Voyager configs are available to you as well. To learn more about those you can check out the [voyager docs here](https://docs.laravelvoyager.com/getting-started/configurations).
Wave is also built on top of Voyager, so all the Voyager configs are available to you as well. To learn more about those you can check out the <a href="https://voyager-docs.devdojo.com/getting-started/configurations" target="_blank">voyager docs here</a>.

---

- [Settings](/docs/{{version}}/configurations#settings)
- [Configs](/docs/{{version}}/configurations#configs)
- [Settings](#settings)
- [Configs](#configs)

<a name="settings"></a>
## Wave Settings Configuration

There are many settings available in your Wave admin section. Visit `/admin/settings` and you will be at your application settings. Which has the following settings you can modify.

> {info} In order to login to the admin section of your application you can use the following credentials `[email protected]` and password as `password`
> In order to login to the admin section of your application you can use the following credentials `[email protected]` and password as `password`
### Site Settings

Expand Down Expand Up @@ -58,25 +58,33 @@ There are a few logical configurations you can make within the wave configuratio

return [

'profile_fields' => [
'about'
],
'profile_fields' => [
'about'
],

'api' => [
'auth_token_expires' => 60,
'key_token_expires' => 1,
],
'api' => [
'auth_token_expires' => 60,
'key_token_expires' => 1,
],

'auth' => [
'min_password_length' => 5
],
'auth' => [
'min_password_length' => 5,
],

'user_model' => App\User::class,
'show_docs' => env('WAVE_DOCS', true),
'user_model' => App\User::class,
'show_docs' => env('WAVE_DOCS', true),
'demo' => env('WAVE_DEMO', false),
'dev_bar' => env('WAVE_BAR', false),

'paddle' => [
'vendor' => env('PADDLE_VENDOR_ID', ''),
'auth_code' => env('PADDLE_VENDOR_AUTH_CODE', ''),
'env' => env('PADDLE_ENV', 'sandbox')
]

];
```
<br>

- **profile_fields** - Whenever you want to dynamically create a new user profile field such as `about`, `social_links`, or any other field you will need to include the field name in this config. You will learn all about *Custom Profile Fields* in the [User Profiles Section](/docs/{{version}}/features/user-profiles)

- **api => auth_token_expires** - This is the amount of time you want your JSON web token to expire. After this token has expired the app will then request a refresh token. You will most likely never need to change this value, but it's there if you need it.
Expand Down
1 change: 0 additions & 1 deletion wave/routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,4 @@

Route::group(['middleware' => 'admin.user'], function(){
Route::view('admin/do', 'wave::do');
//Route::get('admin/do', ['\App\Http\Livewire\Wave\DeployToDo::class', '__invoke'])->name('wave.deploy');
});

0 comments on commit 0747565

Please sign in to comment.