Skip to content

Recommended Approach for Pliny App with no DB #278

@naaman

Description

@naaman

I just created a small service that has no need for a database; the service uses REST APIs as its backend. To clean up dependencies and operations, I had to remove a few things from the generated pliny app:

  • db related gems, pg and sequel
  • a handful of config
  • the db folder
  • pliny tasks that try to run db tasks by default

Does it make sense to provide a --no-db option for pliny-new? If so, what else should needs to be avoided? If not, what's the recommended approach for cleaning up a new pliny app that doesn't need a database?

edit:

Also need to remove

  • DatabaseCleaner in spec helper

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions