mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 18:24:03 +00:00
Merge branch 'master' of github.com:stancl/tenancy-docs
This commit is contained in:
commit
89979afbfc
2 changed files with 10 additions and 14 deletions
20
dist/index.html
vendored
20
dist/index.html
vendored
|
|
@ -95,23 +95,19 @@ php artisan tenancy:install
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="xl:ml-12 2xl:ml-24 w-1/3 hidden xl:block">
|
||||
<div class="mt-6 xl:mt-0 xl:ml-12 2xl:ml-24 xl:w-1/3 w-full">
|
||||
<div class="bg-white py-6 px-12 h-full rounded-15 text-xl flex flex-col justify-between shadow-card">
|
||||
<div>
|
||||
<h3 class="font-bold text-3xl text-center my-1">Automatic & Flexible</h3>
|
||||
<p class="mt-5">Multi-tenancy is something that can be handled in the background.</p>
|
||||
<p class="mt-5">Why should your code be <em>polluted</em> with tons of tenancy-related things? And why be <em>bound</em> to a specific implementation?
|
||||
</p>
|
||||
<p class="mt-5">Handling tenancy in the
|
||||
background gives you the flexibility to change how tenancy works for your project without pain.
|
||||
</p>
|
||||
<h3 class="font-bold text-3xl text-center my-1">Fully Testable</h3>
|
||||
<p class="mt-5">You can test every single part of your app the same way you test any Laravel application.</p>
|
||||
<p class="mt-5">Test everything from tenant creation to logic inside the tenant part of the application.</p>
|
||||
<p class="mt-5">Multi-tenancy doesn't have to mean sacrificing testability.</p>
|
||||
</div>
|
||||
<div class="flex justify-center xl:mt-8">
|
||||
<a href="https://tenancy.samuelstancl.me/docs/v2/configuration">
|
||||
<button
|
||||
class="text-indigo-800 font-bold text-xl w-64 text-center py-2 rounded-10
|
||||
<a href="https://tenancy.samuelstancl.me/docs/v2/application-testing">
|
||||
<button class="text-indigo-800 font-bold text-xl w-64 text-center py-2 rounded-10
|
||||
border-indigo-200 border-2 focus:outline-none focus:border-indigo-600
|
||||
hover:border-indigo-600 border-transition">Configuration docs</button>
|
||||
hover:border-indigo-600 border-transition">Testing docs</button>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -149,10 +149,10 @@ abstract class TestCase extends BaseTestCase
|
|||
|
||||
phpunit.xml:
|
||||
```xml
|
||||
<server name="DB_DRIVER" value="sqlite"/>
|
||||
<server name="DB_CONNECTION" value="sqlite"/>
|
||||
<server name="DB_DATABASE" value="database/testing.sqlite"/>
|
||||
```
|
||||
|
||||
> Don't forget to create an empty database/testing.sqlite
|
||||
|
||||
You may also wish toa dd `testing.sqlite` to `database/.gitignore`.
|
||||
You may also wish to add `testing.sqlite` to `database/.gitignore`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue