To get you started writing your Microsoft SQL Server Application powered by Python/PyODBC and unixODBC.
Why did i make this templete for your? I was working on a Flask Application for one of my clients and it was a pain and nightmare to configure it.
You know people make things so hard when it is a really simple solution hope this repo will help you to get your work done ASAP
Once done with that follow these steps
* Change your connection string in conn to your database - I filled in the connection string for you i made that into a templete for your :)if you see Connection Failed - Check your connection string and Database else, if successful congratulations you have done the most important step so far.
- Add the code to app.py which you are bootstrapping from else edit Proc to your app file
- Fire up GitHub and upload the files to your repo.
- Now in Heroku - Create a new Application
- Under the deployment tab
- Select GitHub Deployment Method - Link up the repo to your Heroku
- Add the buildpacks exactly in that order in the photo below
- If you want to copy and paste
https://github.com/heroku/heroku-buildpack-apt.git
https://github.com/heroku/heroku-buildpack-python.git
https://github.com/matt-bertoncello/python-pyodbc-buildpack.git
heroku/python
ADGSTUDIOS : https://adgstudios.co.za
Date | Changes |
---|---|
2021/08/22 | Added Initial Files |