- Install Docker
- Deploy Portainer (optional)
- Set MaxSessions in /etc/ssh/sshd_config (on remote host) to something like 200
- Copy the .env.example file to .env and modify it
- Copy the laravel.env.example file in the backend folder to laravel.env and modify it
- Run
DOCKER_HOST="ssh://user@ip" docker-compose up -d
- Run
php artisan migrate --database=landlord --path=database/migrations/landlord/
- Create a tenant with
php artisan tenant:create dev dev
- Migrate the tenant and invite an admin (
tenant:create_admin
) - Run
php artisan storage:link
in the project directory