stancl/tenancy docs & website https://tenancyforlaravel.com/docs
Find a file
2025-10-28 15:54:11 +01:00
.github/ISSUE_TEMPLATE add issue templates 2023-07-31 13:16:34 +00:00
listeners 3.x redesign 2020-06-08 21:20:15 +02:00
source Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
.gitignore Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
bootstrap.php 3.x redesign 2020-06-08 21:20:15 +02:00
build.sh 3.x redesign 2020-06-08 21:20:15 +02:00
composer.json Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
composer.lock Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
config.php Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
config.production.php 3.x redesign 2020-06-08 21:20:15 +02:00
config.staging.php 3.x redesign 2020-06-08 21:20:15 +02:00
flake.lock Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
flake.nix nix: Use lib.cleanSource 2025-09-29 16:19:49 +02:00
LICENSE.txt 3.x redesign 2020-06-08 21:20:15 +02:00
navigation.php Update sponsor links in navigation.php 2025-10-26 17:31:06 +01:00
netlify.toml splitbee rewrites 2021-11-29 17:46:46 +01:00
package-lock.json fix package.json 2022-07-29 18:39:25 +02:00
package.json Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
README.md Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00
staging.sh 3.x redesign 2020-06-08 21:20:15 +02:00
tailwind.config.js Show search on mobile (#69) 2020-08-17 13:14:18 +02:00
webpack.mix.js Add flake.nix, non-legacy builds, composer update, fix redirects 2025-09-28 23:01:57 +02:00

stancl/tenancy docs

For the main repository, see stancl/tenancy.

Dev

You can use npm run watch, npm run dev, and npm run production.

Nix

A lot of the dependencies in this repo are pretty legacy software by now, so to make building easier and more reproducible in the long term, we use Nix to wrap the build process.

Devshell: nix develop

Run (dev, watcher): nix run

Run (prod build into build_production): nix run .#production

Build (reproducible via Nix, result symlinked from store): nix build

Build (same as above, but using localhost:8000 as the base URL, prod non-legacy build): nix build .#local

Build (same as #local but only including /docs and /assets): nix build .#minimalLocal

Legacy builds assume it's the v3 site on the tenancyforlaravel.com domain. Non-legacy builds do not and as such remove some root level links on the frontend (in other words non-legacy builds support minimal builds.)