Code Monkey home page Code Monkey logo

Comments (6)

d4nt avatar d4nt commented on July 23, 2024 3

QueryTree supports the use of an external Microsoft SQL Server database for its user accounts and report definitions, so it could probably be run on heroku in that mode. Take a look at the DataStore setting in the customizing.md file.

Heroku is not something I’ve tried though, so if you get it working please report back to the community.

from querytree.

PandelisZ avatar PandelisZ commented on July 23, 2024 2

No I don't think so.

Edit: You should be able to with an external SQLServer DB!
There is even a sqlServer add-on available: https://elements.heroku.com/addons/mssql

Because query tree uses a stateful sqlite database that lives with the docker image you would not be able to deploy it to a heroku environment. Heroku is notoriously ephemeral which means every new deploy would wipe the sqlite db.

To be able to deploy to Heroku or more stateless services QueryTree would need to support an external database for its connections which is possible as it uses EntityFramework to interface with sqlite anyway.

@d4nt That sounds about right, right?

The reason this works on azure is the box it deploys to is stateful, its a ubuntu vm that will never be destroyed so the sqlite db volume would persist.

If you were to attempt to deploy to heroku:

You would be able to create a heroku deployment by using heroku's docker features https://devcenter.heroku.com/articles/build-docker-images-heroku-yml

And if you'd like to take a look at implementing an external databases I'd start here:
https://github.com/d4software/QueryTree/blob/master/Web/Startup.cs#L52

from querytree.

d4nt avatar d4nt commented on July 23, 2024

@PandelisZ I love it! I've actually been working in 'develop' on enabling QT to use SQL Server as it's storage system. It's pretty much done, it just needs some testing. (See the 'DataStore' option in https://github.com/d4software/QueryTree/blob/develop/docs/customizing.md)

from querytree.

PandelisZ avatar PandelisZ commented on July 23, 2024

Yep! Saw that in my feed and thought I should share!

from querytree.

stale avatar stale commented on July 23, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from querytree.

martonboti avatar martonboti commented on July 23, 2024

Hey, is there a way I can deploy this to heroku?

from querytree.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.