Using Mongo or Postgres #40
Unanswered
nonfungibletunji
asked this question in
Q&A
Replies: 2 comments 2 replies
-
|
Hey, you should be able to use the MongoDB configuration just like any other Fluent driver. https://docs.vapor.codes/4.0/fluent/overview/#mongodb Also check this: https://github.com/FeatherCMS/feather/wiki/Project-structure |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yeah I set it up just like the vapor tutorial docs. I will look more into it and maybe do a fresh install
…On Jan 5, 2021, 9:55 AM -0500, Tibor Bödecs ***@***.***>, wrote:
Hey, you should be able to use the MongoDB configuration just like any other Fluent driver.
https://docs.vapor.codes/4.0/fluent/overview/#mongodb
Also check this:
https://github.com/FeatherCMS/feather/wiki/Project-structure
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
try feather.configure(database: .mongo(.file("db.sqlite")), databaseId: .mongo, fileStorage: .local(publicUrl: Application.baseUrl, publicPath: Application.Paths.public, workDirectory: "assets"), fileStorageId: .local, modules: [ FileBuilder(), RedirectBuilder(), BlogBuilder(), AnalyticsBuilder(), // AggregatorBuilder(), SponsorBuilder(), SwiftyBuilder(), MarkdownBuilder(), ])how does one change the configure, to use DB URL for either Mongo or Postgress? feather.configure documentation ??
Beta Was this translation helpful? Give feedback.
All reactions