Get up and running
- Clone the repo
bundle install- install any other dependencies you're missing or prompted for
rails db:create- if you don't have permissions
$ sudo -u postgres createuser <username>
$ psql -U postgres
postgres=# ALTER USER <username> CREATEDB;
rails db:migrate, then create a new org:rails tenant:create['Demo Corp','demo']andrails 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
rails server- Open localhost:3000
Description
Languages
Ruby
53.5%
HTML
39.5%
Dockerfile
2.5%
Shell
2.2%
JavaScript
1.8%
Other
0.5%