Run the following: rails_apps_composer new myAppName -l very-composer-recipes/recipes.
This will allow you to build an app with all recipe choices available. You can make whichever selections you see fit.
To build an API app from a template
Go to your development directory.
Be sure you have the very composer repo cloned: git clone git@github.com:verypossible/very-composer-recipes.git.
Run the following: rails new myAppName -m very-composer-recipes/templates/very-api.rb --api.
You should have a new app to begin development on.
Note: (The default DB is currently sqlite3. But the db config has defaults for postgres if you want to switch.)
To build the API template
Run this command to generate your template file rails_apps_composer template templates/very-api.rb -l recipes/ --defaults=./defaults/very-api-defaults.yml
Available templates
very-api
very-graphql-api
To deploy demo API to Heroku (Currently must be done manually)
If you already have a demo app linked to heroku then skip to step 8.
Create a new app following the To build an API app from a template instructions
Enter the new app directory
Run git init
Run git add .
Run `git commit -a -m 'Initial Commit'
Run `heroku git:remote -a very-rails-booster-kit-demo