2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 18:08:24 +02:00
2025-06-11 18:24:07 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 17:49:50 +02:00
2025-06-11 18:23:16 +02:00
2025-06-11 17:49:50 +02:00

Get up and running

  1. Clone the repo
  2. bundle install
  3. install any other dependencies you're missing or prompted for
  4. rails db:create
  5. if you don't have permissions
$ sudo -u postgres createuser <username>
$ psql -U postgres
postgres=# ALTER USER <username> CREATEDB;
  1. rails db:migrate, then create a new org: rails tenant:create['Demo Corp','demo'] and rails tenant:migrate
rails tenant:create[name,subdomain] # Create a new tenant (organization)
rails tenant:migrate                # Migrate all tenant schemas

rails tenant:migrate_one[subdomain] # Migrate a specific tenant schema
rails tenant:rollback[step]         # Rollback all tenant schemas by N steps (default: 1)
rails tenant:status                 # Show migration status for all tenants
rails tenant:drop[subdomain]        # Drop a tenant schema and organization
  1. rails server
  2. Open localhost:3000
Description
not a placeholder
Readme 111 KiB
Languages
Ruby 53.5%
HTML 39.5%
Dockerfile 2.5%
Shell 2.2%
JavaScript 1.8%
Other 0.5%