Here’s how to start with Business Class.
Download the sources from Gumroad and follow the example first steps to be up and running.
Here are the first example steps to take after you download the Business Class sources.
Create a new git project and add all template files to it.
$ mkdir my_app && cd my_app $ cp ~/Downloads/template.tar . $ tar -xf template.tar $ git init . $ git add * $ git commit -am 'Initial commit'
Install all development dependencies mentioned in
Dependencies include Ruby, Node.js, and Docker. If you don’t want to use Docker Compose for services, install PostgreSQL and Redis yourself. Some additional system dependencies might be required.
Rename the application to your liking with
$ bin/rename_project BrandNewSaaS
Choose a CamelCased name.
Rename the teams feature to your liking with
$ bin/rename_teams Organization
Reorganize I18n keys:
$ i18n-tasks normalize
This is necessary only if you rename teams to something else, but there is no harm in running the task.
Run the tests and fix the files that were not renamed properly.
Run all services:
And in a new window:
$ bin/rails db:create db:migrate db:seed $ bin/rails assets:precompile $ bin/rails test:all
Open localhost:3000 to see your brand new application!
Commit your new changes.
If you like what you ended up with, commit the new changes:
$ git add * $ git commit -am 'Rename the application and teams'