Comments (6)
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.
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.
@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.
Yep! Saw that in my feed and thought I should share!
from querytree.
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.
Hey, is there a way I can deploy this to heroku?
from querytree.
Related Issues (20)
- hostpolicy.dll is missing HOT 1
- cannot connect to either mysql or sql express on my PC HOT 1
- Can't see the option to use Advanced Reporting HOT 1
- Write my own sql Queries HOT 1
- Error during connectin to PostgreSQL: SSL is required HOT 2
- postgresql connection strings: support "sslmode" parameter HOT 1
- New tables/Views added to database not showing HOT 2
- Cannot install QueryTree from source HOT 1
- "No tables found" in PostgreSQL connection HOT 6
- Team Invite post failing with 404 error HOT 1
- Caution using this in production - scheduled emails creates many long running queries HOT 1
- Multi tenant situation HOT 2
- Advanced report builder is missing, no link displayed next to simple report builder header. HOT 1
- how to deploy query tree HOT 2
- how to integrate/embeded it into existing app (angular 14)
- QueryTree dotnet version update in Dockerfile breaks invitation HOT 1
- Scheduled reports error on save HOT 2
- Querytree
- QueryTree Documentation Empty - No content displayed
- Docker image in Cpanel - unable to connect to database or download a SSL Key
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from querytree.